Forums

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

Xray JQL question, how do query for test case execution history

Itsik Versano
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 19, 2023

Hi, 
I want to create a list (JQL) per project or component of test case and how many times it failed from the total number it was executed. 

Any idea how to do so?

 

 

2 answers

0 votes
Itsik Versano
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 11, 2023

Hi @Laurie Sciutti 
This will get me current result, any idea how to get history?

 

BR
Itsik

0 votes
Laurie Sciutti
Community Champion
November 7, 2023

Hello @Itsik Versano ~ try the following (with a custom filter searching for all Tests that you want to include):

 

issue in testTestExecutions('your custom filter', 'PASS|FAIL')

 

If you want to include additional test run statuses (i.e. ABORTED) just include that using the "|" (pipe) separator ('PASS|FAIL|ABORTED').  Reference:  https://docs.getxray.app/display/XRAY/Enhanced+querying+with+JQL 

Suggest an answer

Log in or Sign up to answer