Forums

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

Need suggestion to build a query to get all the test cases linked to Jira stories that are in turn l

Krishnan Gs
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 23, 2023

I am looking for something like this:

issuetype = test where the test is linked to story that is linked to stories ( S1, S2, S3 )

S4 linked to S1, S2 and T40, T41, T42

S5 linked to S1, S3 and T50, T51

S6 linked to S2 and T60

Output:

S1 -> S4, S5 -> T40, T41, T42, T50, T51

S2 -> S4, S6 -> T40, T41, T42, T60

S3 -> S5 -> T50, T51

 

or

T40 -> S1, S2

T41 -> S1, S2

T42 -> S1, S2

T50 -> S1, S3

T51 -> S1, S3

T60 -> S2

1 answer

0 votes
Crystelle S
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.
March 30, 2023

If you have scriptrunner you can use recursive search. Other than that I have not seen this done. 

https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/issue-links

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events