Search for Xray Test Run with a linked Bug/First Time Pass

Lianne Martin June 22, 2021

Is there a way to query for tests runs that are part of an execution which have a linked issue which has a type of bug?  I don't want to find tests that have created a bug, as sometimes we need to link more than one test case to a bug (so only one case has created that bug, rest link to it once created).  

 

Or, can I search for test cases which are currently in Passed status and were previously in Failed status?  

 

I am trying to calculate tests which passed on the first run.

 

Thanks!

1 answer

0 votes
Rogério Paiva - Xray Xporter
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.
June 28, 2021

Hi @Lianne Martin 

You may find some JQL function in this documentation page that should be helpful:

https://docs.getxray.app/display/XRAY/Enhanced+querying+with+JQL

Such as: defectsCreatedDuringTestExecution and defectsCreatedDuringTesting.

You may also use the Test Runs Report that provides extensive information about the Test Runs, and also allows to export the information into CSV:

https://docs.getxray.app/display/XRAY/Test+Runs+Report

With this report or with the exported CSV you should be able to filter the information you need.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer