How to update pass/fail result of issue with type 'Test' in jira with jira command line interface ?

I have installed Zephyr plugin for jira and created testcases using it. Now i want to update issue with execution status pass/fail using JIRA CLI library. e.g --action updateIssue --executionstatus pass. Similar to this. Custom id for field execution status will also helpful. Thanks.

1 answer

1 accepted

0 votes
Accepted answer

Hi Raj,

Below is all the information for ZAPI. ZAPI is our Zephyr for JIRA API's which allow you to bring automation into Zephyr for JIRA:

A video to help get you started:


ZAPI download:

Our ZAPI REST API library:

Kind Regards,


Thanks Emily..That is what i am looking for.
Just one question is there. I am getting error while performing - http://My_Jira_Ip/rest/zapi/latest/execution/{id}/quickExecute.I am not getting the term '{id}'.
It says 'Invalid executionId'. I am not able to find execution id. Other APIs are working fine.

Hi Raj,

The {id} in the quick execution API is the {id} of a test scheduled in a cycle. This API operation is the same as manually changing the status of the test schedule in a cycle from the drop-down - instead of clicking the 'E' button and filling out the information there.

You can find a Python example of this API in action on our community forum here:



Thank you Daniel.
I found one useful thing from your link,that i was not creating any execution before executing test so it was getting null value. But now its working fine.



Is there a way to perform bulk execution? In other words execute all the test cases in a cycle at once.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

804 views 3 9
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