Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set jira resolution state?

Hi ,

I am trying to set the resolution state on jira by the url :  "/rest/api/2/issue/${issueOrkey}/transitions"

and the json body=


"fields": {
"resolution": {
"name": "Duplicate"
"transition": {

"id": "100"



It is not working as getting 500 error or sometimes 405 also,

please help with this issue where I am doing wrong either url or parameter 

I did not get api related to resolution  on jira docs so trying with "transition "  url.

Thanks in advance

1 answer

First of all you are doing a POST command right? Since that API link is the same for both POST and GET which will get you very different results. 

When you run the GET command what is your result?  

{"expand":"transitions","transitions":[{"id":"61","name":"Reopen issue","to":{"self":"URL/rest/api/2/status/1","description":"The issue is open and ready for the assignee to start work on it.","iconUrl":"URL/images/icons/statuses/open.png","name":"Open","id":"1","statusCategory":{"self":"https://URL/rest/api/2/statuscategory/2","id":2,"key":"new","colorName":"blue-gray","name":"To Do"}}}]}

And there's your answer, that specific issue have only one transition available and that has ID:61, not 100..

If this is not the transition that you desire then you need to go in to the issue and/or project and set the correct permissions and fill out the correct data. 

Like UJJWAL PHOPATE likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

533 views 1 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you