JQL: xray tests that have not run for a certain amount of days

Bo Bøgvald September 30, 2019

I have to make a filter that searches for xray tests that have not been run for a given number of days.

I can search for tests not run, like: project = <project> AND issue in testsWithoutTestExecution()

But I can't find any way to search for tests that have not been run for a number of days.

 

Anyone knows?

 

The filter is needed in order to identify regression tests that are not being used any more.

 

Best regards

Bo

1 answer

1 accepted

0 votes
Answer accepted
Bo Bøgvald September 30, 2019

After giving up on this, I realized how to do it :-)

Create a filter for Test Executions created in the last <x> amount of days

Create another filter searching for tests not in these Test Executions, like: 

issue not in testExecutionTests("<First Filter>")

 

 

Thanks for "listening"

Suggest an answer

Log in or Sign up to answer