Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Update status in Zephyr using Rest API


How to get the issue ID using rest API and how to update the status of an issue using the same?

I did refer all the previous posts but couldn't find anything that works.


1 answer

0 votes
Bibek Behera Community Leader Apr 07, 2021

Hi @Guha Shree Priya Gopalakrishnan ,

Please use the below api:


Method: PUT








The issue ID can be gathered during the edit operation from the UI. You have to mouse hover the options and the ID will be on the bottom left. Adding screenshot for the same.


Hi @Bibek Behera 

Thanks for the quick response.

Please could you also tell me how to get the execution ID?

In the example, you have mentioned this execution ID - 9196ca17-90d2-45c1-aeb9-4aad2d32a47d. How do we derive this?

I have cycle ID, version ID and project ID.. now want this execution ID.

Thanks in advance!

Bibek Behera Community Leader Apr 07, 2021

@Guha Shree Priya Gopalakrishnan ,


You can get it from the execution page.


Please vote and accept the solution so that it can help other too 😀ID.PNG

@Bibek Behera 

Is it possible to get this via a GET method as it'll be difficult to get the issue ID and  execution ID like this during runtime and then use this as a parameter to PUT method to update status.

Any way available to get them via REST API?


Hi  @Bibek Behera 

Is there any way for the above request? I'm currently stuck at this step.

Also I get the below error while trying to update the status as per your suggestion.

Expecting claim 'qsh' to have value 'a163b652a4efa04b91c453571fdc134cf46bf59b7499e1bd5420111a40c18f68' but instead it has the value '023ff86e66bc656e8ed9d65026e519067fbf915b2ed83fbdc37465321dbd085a'

Am I missing anything here?


Hi @Bibek Behera 

The following request throws the below error. Could you please suggest a solution.

Method: PUT



Thanks in advance!Image2.jpgImage1.jpg

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events