Forums

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

Xray - test repository - how do I filter out tests that are already in a specified test-plan?

M Rydberg
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 4, 2020

In the view Test repository I would like to see only the tests that are not yet added to a specific test-plan. How do I write the JQL-search? 

I have tried the following:

  • "Test Plan" != <key for test-plan>
  • "Test" not in <key for test-plan>
  • Test not in <key for test-plan>

but does not get any tests at all in the search-result.

 

What shall I write to get this right?

 

Best regards,

M Rydberg

 

 

1 answer

0 votes
Sergio Freire - Xblend
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.
November 17, 2020

Hi @M Rydberg

The best way to filter out tests that are already in a specified Test Plan is to use our testPlanTests Enhanced JQL Function. Like so:

issue not in testPlanTests("TEST PLAN KEY")

 Best Regards, 

 

Sergio 

_____________

Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile, and software development: https://sergiofreire.com

Follow me on Twitter: https://twitter.com/darktelecom

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events