JQL Query to reterive the all the test cases in the Folder

Praveen597
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!
October 7, 2023

Hi All,

 

I have all the test cases in X-RAY tool under different folders.

Eg:

Folder1

--> Folder2

----->Test Case #1

------>Test Case #10

----->Folder3

--------->Test Case #20

--------->Test Case #30

 

Now I want to use a filter to see all the test cases written on the parent folder Folder1, which should retrieve Test Case #1,#10, #20, #30

 

I tried many quries, but nothing is workign 

 

issue in testRepositoryFolderTests("POR", "") -- > is geeting all the test cases in X-RAY rather than one parent folder

1 answer

1 vote
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.
October 9, 2023

Hi @Praveen597 

On the JQL you are using on getting xray information, it seems to me you are running Jira Server or DC, as the used JQL option doesn't exist in Cloud.

I expect you JQL to look like; 

issue in testRepositoryFolderTests("POR", 'Folder 1, "true")

this should give you all tests within Folder1 and sub folders beneath folder1 in project POR

Suggest an answer

Log in or Sign up to answer