Forums

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

XRay - How can I find tests that haven't been added to any test set?

Ilari Nikula August 7, 2025

I'd like to know if there's a way to check if some tests in XRay haven't been added to any Test set. As is, the only way I've managed to compare if there are any tests missing from our tests sets, has been by calculating the total number of tests in Test executions which have been created from the Test sets and comparing that to the number of Tests we have in the XRay library/repo.

It would be really helpful if I could, e.g., add 'Test set/Test plan/Test execution' columns to the JQL search table to easily search for tests where the value is EMPTY.

2 answers

0 votes
Marc - Devoteam
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.
August 7, 2025

Hi @Ilari Nikula 

I think you can use the one from @Volodymyr Melnik or use issue in testsWithNoTestSet()

See Xray JQL options, Enhanced+Querying+with+JQL 

0 votes
Volodymyr Melnik
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!
August 7, 2025

As far as I know, you can use the NOT IN testSetTests() Xray function:

issueType = Test AND key NOT IN testSetTests()

And this query will return all Tests that are not associated with any Test Set.

Jira’s issue navigator doesn’t support displaying Test Set, Test Plan, or Test Execution as columns by default. You can work around this by using Xray-specific reports or exporting data via CSV and doing analysis outside Jira, depending on your needs.

Hope this helps!

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