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

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?

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
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 ...

1,234 views 5 10
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