Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

closing test execution when all tests have passed

Deleted user October 22, 2023

Hi,

 

I am using Xray/JIRA on cloud, and I would like JIRA to close Xray test executions, after all its relevant test cases have passed. i have searched the JIRA automation but couldn't find a suited solution. Can anyone help me achieve that, if possible at all?

 

10x

 

Ami

1 answer

1 accepted

0 votes
Answer accepted
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2023

Hello @[deleted] 

If you want Jira to end the test execution, not XRay itself, you are going to have to build custom automation rules that make calls to the REST API of XRay.

Start by Googling 'Jira automation call REST API' to start learning how to do that sort of thing.

Then, you'll need to read the documentation of XRay's REST API to learn what endpoints, if any, can end a test execution and how to format a request to that endpoint

Have fun on your learning journey.

PS. You can also Google 'Jira automation call Xray' and see all the other times this question has been asked, and maybe find where others have already extensively written on the topic and provided code examples.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events