How to write JQL to filter the Xray tests included in a Xray Text Execution or Xray Test Plan?

Yang Wu
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!
February 17, 2025

I want to filter all the test cases of one or more Xray Test Execution or Xray Test Plan, how can I write the JQL in this case?

Thank you!

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Francisco Fonseca _Xray_
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.
February 24, 2025

Hi @Yang Wu

Welcome to the community!

You can't achieve that using JQL, but you can using Document Generator. 

Since it's a very tailored code snipet, our Support Manager suggested you open a ticket here: https://jira.getxray.app/servicedesk/customer/portal/2 so we can understand the output you want and help you with it.

Best, Francisco

Yang Wu
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!
February 24, 2025

Hi @Francisco Fonseca _Xray_ ,

Thank you for the reply!

I tried the link you mentioned, but failed to create a ticket without providing the Xray SEN ( (I don’t have admin permission to check the SEN).

I'm going to give more details requirement, and please have a look. Any help is welcome!

Our Jira URI: https://gm-sdv.atlassian.net/

We are using Jira Xray to build test cases (Xray Test and Test Set), and record the case execution result (Xray Test Execution/Plan). So we created many Xay Test Execution/Plan for different test activity.

My question is how to write a JQL to filter all the tests in a specific Xray Test Set/Execution/Plan?

For example there are 200 Xray Tests in total. (TST-1 to TST-200).

Xray Test Plan A TST-201 includes TST1-TST100;

Xray Test Plan B TST-202 includes TST1-TST200.

All the tests are assigned to 3 testers.

So now if I want to know how many tests are assigned to tester #1 in Plan A or Plan B, how to write a JQL?

project = “TST“ and assignee = tester #1 and “how to list all tests in Plan A“

We need this function to create Dashboard, to show each Xray Test Execution/Plan status, and tester workload in a specific Plan.

 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events