It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

update the execution status of a test case using jira rest api

Hi All, Warm Regards, I have created test cases in JIRA test management tool. Automated the test cases using ready API. I want to update the test case status (Pass/Fail) Using jira rest api. Can some one pls help.

I referred the following link:



4 answers

1 vote
Andy Heinzer Atlassian Team Jun 18, 2020

Hi everyone,

This question is rather old, but I wanted to try to update the answers here.  Natively, Jira does not do test management.  There are however several plugins in Marketplace that can help make that a reality.  A few that I am aware of are Zephyr, Xray, TM4J, and many more which you can find in a search of Marketplace.

I am not sure which one might have been referred to by 'Jira test management tool'.  I am afraid that title is a bit vague to me, and sometimes plugins/apps can have their titles change in marketplace.

That said, because these apps add functionality to Jira, I don't have the expectation that Jira's native REST API will be able to manipulate these entities like standard Jira issue types.  As such, it would be best to reach out to the plugin vendor to see if there does exist a REST API for managing these.  I found some such as

I hope this helps.  If not, it would probably be best to reach out to the specific plugin vendor for support on this topic.



Hi Gregor,

The above link which u have shared is for changing the status of issue. Can you please share the details of how to change the execution status of any issue?

Hi Gregor,

Thanks for reply.

Using post method:



"name": "In Progress",
"id": "3"

"transition": {
"id": "21"

Still not working

Do you have any error message?

Also, First i want to read the test cases which i have drafted in JIRA test management. Then want to update the test case status to PASS/FAIL using jira REST API.


Please do the needful.

Hi rayudu,  How are you?

Are you able to update the status to PASS/FAIL using REST API now?

I want to do the same and not able to after searching for so long. I posted this question. 

I am able to query using JQL as suggested but still not able to filter and update the status of my test execution

Hope to know how it went for you.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Expose your beautifully crafted Dashboard through the Jira Service Desk Customer Portal

  A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...

337 views 5 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you