Update Test case status using ZAPI

Hello,

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 -

https://getzephyr.docs.apiary.io/#reference/executionresource 

https://support.getzephyr.com/hc/en-us/sections/200565819-Developer-Zone-ZAPI

https://community.atlassian.com/t5/Marketplace-Apps-questions/How-to-update-the-execution-status-of-Test-type-issues-and-test/qaq-p/105272

 

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

Body:

{
"status": "1"
}

But got 403 Forbidden. 

 

Can anybody please help me out on this.

 

Thanks

 

 

3 answers

This widget could not be displayed.

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.

Cheers,

Michael

This widget could not be displayed.

Finally I figured out.  

Arun VS I'm New Here Jul 24, 2018

How?

This widget could not be displayed.

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.

Thanks,

Karan

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

733 views 0 3
Read article

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