I am using 'https://domain.atlassian.net/rest/api/2/issue/{issueIdOrKey}' to edit an issue. I want to use the same API to change the status as well. While following works in edit with PUT method,
{
"fields":
{
"assignee":{"name":"assigneeKey"},
"priority":{"name":"Highest"},
"issuetype" : {"name" : "Bug"},
"summary": "Summary"
},
"update": {
"description": [{
"set": "Hello description"
}]
}
}'transition' key doesn't work for me. I used it like this
"transition": {
"id": "1"}directly inside the root JSONObject. Server returned with 204 status code but no change was done in Issue.