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:

https://docs.atlassian.com/jira/REST/cloud/#api/2/workflowscheme-updateDraftDefault

 

 

3 answers

This widget could not be displayed.

Hi Gregor,

Thanks for reply.

Using post method:

https://xxxxxx/rest/api/2/issue/testcaseid/transitions?expand=transitions.fields 

Payload:-

{
"update":{
"name": "In Progress",
"id": "3"
},

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

Still not working

Do you have any error message?

This widget could not be displayed.

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.

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
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

134 views 2 0
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