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

How do I build a JQL Filter showing X RAY "Test" for a given STORY?

Hi, I need to search for all XRAY objects that are assigned to a given STORY:

story XXX-1 in Project AAA has tests defined in XRAY:

How to build a JQL that looks up tests XXX-2, XXX-3 and XXX-4 for story XXX-1 in an AAA project?



1 answer

Hi @Piotr Rogalski 

To obtain that information you can use the requirementTests Enhanced JQL Function. Like so:

project = AAA AND issuetype = 'Test' AND key in requirementTests('XXX-1')

If you have any more questions, please contact us through our Service Desk.




Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile and software development:

Follow me on Twitter:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Feedback & Announcements

Developer Day is next week – check out the agenda!

Hey there, community! Hope everyone is well and safe! ✨ The last few months have been busy – especially with the judging + picking of our Codegeist 2020 winners, the launch of Atlassian Ventures, a...

195 views 1 7
Join discussion

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