Update Test case status using ZAPI


I know that this question has been asked before but none of the solutions worked for me. Documentation did not help either.

I have a simple task to do. Change the status of the test case - PASS or FAIL using ZAPI.


I went through the following links. But problem was not solved -





Now, in the above  thread it was suggested that - Use Get all executions by Issue ID API which gives all executions of that issue with id's as result.

GET - http://localhost:8080/rest/zapi/latest/execution?issueId=113884

Now, where did we get the this number 113884 ?


I also executed -

PUT - https://aabirdaneshyar.atlassian.net/rest/zapi/latest/execution/0001515342980260-242ac112-0001/execute


"status": "1"

But got 403 Forbidden. 


Can anybody please help me out on this.





3 answers

Hi aabir.daneshyar@optimusinfo.com,

I meet the same problem as you, did you get your problem resolved. If yes could you share it to me? Thanks a lot.



Finally I figured out.  

Arun VS I'm New Here Jul 24, 2018


0 votes

Hi Michael,

Can you please share the steps for updating the test case status using ZAPI over cloud.

I am using the trial version of Zephyr and ZAPI in Jira.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

3,249 views 6 6
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