REST API POST Method's JSON Format for Issue Tracking Systems
The JSON format expected by POST must follow a certain format. The JSON must have a key identifier representing the issue's key that GET. POST JSON must be a simple structure without any array.
JSON sample:
{
" issueId ": "22809190",
"publish": "N",
"statusId": "92"
}
In the previous sample, issueId
, which is the key identifier, helps the POST
end-point identify which Issue/Bug to update. The other two fields,
publish
and statusId
, are updated with values
supplied in the JSON.