I have successfully been able to test the REST API command via postman to update the assignee and get lists of issues; however, whenever I try to change the status via the transition id, I get an empty response and it doesn't do anything. Below is an example of the body content in my PUT request. Any ideas why it isn't working?
{ "update": { "comment": [{ "add": {"body": "Applied Logic Deploy" } } ] }, "transition": { "id": "61" } }
I got it... i was doing a PUT instead of a POST.
I tried the same thing with a C# webrequest object (not postman) and I get the error "405 method not allowed". Any thoughts as to what I'm doing wrong?
Any updates on this.
Am also facing same 405 issue.
try below from a REST TOOL
POST
https://XXX.com/rest/api/2/issue/XXX-30089/
{"fields":{"transition":{"id":"31"}}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.