Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL - getting all tests covering a List of Stories

Hi all


I try to select all tests with JQL that are covering a list of stories selected by a filter. I have currently tried out the following:

issueFunction in linkedIssuesOf("filter = myStories", "tested by")

With this JQL not just Tests are listed - also Test Sets are listed. But I also want to get all tests covering the requirements by linked test sets and I found no solution how to get tests related to a list of test sets (testSetTests() just allow one test set as input parameter). So I tried the following:

issue in requirementTests("filter = myStories")

but it returned me the following:

"The parameter 'filter = myStories' does not correspond to a valid Requirement issue nor a valid saved filter. "

Using just one Story key in this query worked  - but not a list of stories. Seems to be the same as with testSetTests()

Does anyone know a solution for "how to get a complete list of Tests out of a List of Requirements ?"


thanks and regards


1 answer

Hi Christian,

First, you need to create a filter that saves all the requirements that you want. After that just use this JQL query swapping the Requirements saved filter with the one that you saved:

 issuetype = 'Test' and key in requirementTests('Requirements saved filter') 

You can find more information about that in the documentation below:

JQL enhanced


Best regards,

Xray Team

the 'key in requirementsTests' portion of this does not seem to work in Jira Cloud version (just migrated to that today)

is there an equivalent for Jira Cloud syntax?

i.e. if i do this:

issuetype = "Xray Test" AND key in requirementTests('DOne - Active STORYs by PO - Onboarding')


i get this:

Unable to find JQL function 'requirementTests(DOne - Active STORYs by PO - Onboarding)'.

Hi @Miron Aloni 

Currently, it is not possible to filter Requirement Tests, due to the Cloud Architecture, which doesn't allow us access to the Jira Database, stopping us from creating a JQL function to give us that information.

This is why the JQL function we provide in Xray Server are not available in Xray Cloud.

If you need further help, please contact the Xray Support ( so that we can request additional information and investigate further.

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

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you