Trecena/trecena-jira — Issue #1: Add Type Mapping Fails
Author: chrisswick
Created: 2012-01-16 04:47:20+00:00
State: open

I am sending the JSON version of the XML request example on https://github.com/Trecena/trecena-jira/wiki/save-issue-type-mapping but am getting a Bad Request response. Can you give a quick example of how the JSON formatted request should look.

Here is what I am sending.

Request URL:http://sandbox.trecena.ca/modules/jira/servers/1/mappings/types
Request Method:PUT
Status Code:400 Bad Request
Content-Type:application/json; charset=UTF-8
Request Payload
{"jiraType":"1","type":{"id":2,"text":"Bug"},"id":null}