How to update issue status edit api?

I am using '{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,

        "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.

1 answer

1 votes

Is transition 1 representing a transition that exists in the workflow?  Is the issue in the right status?  (i.e. the transition is the one that takes it out of that status/step to the desired one?).  Does the workflow have any validators or conditions on it that might be blocking the transtion? (Although I'd expect an error there, rather than a simple 204)

Edit: sorry, that was far too short!  I've tried to improve it.

I tried values from 1 to 20 randomly.. None works. I mean I get a 204 No Content response but status doesn't change. To answer your question, 1 is valid.

Random numbers really aren't going to do anything!  Could you look at the text view of the workflow?  Especially for the step the issue is currently in?

Steven Behnke Community Champion May 26, 2016

Just a tidbit to add to Nic's great answer, you can use the API to get all transitions and ID's valid for your current state for a specific issue –

The documentation for this REST endpoint is avaliable here –


Otherwise Nic is right, the correct id value is in the Workflow Editor.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,864 views 12 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot