Forums

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

Return linked tests from the output of a query

Ross B August 7, 2023

I have a query that returns a list of stories that are in a specific status. I'd like to extend that query out to identify all the tests linked to those stories.


project = "DPT" AND issuetype = Story AND "Reporting Team" = "DPT Non-Personal" AND status not in (Descoped) AND "Delivery Team" not in ("DPT Migration") AND status in (Implemented, "In Functional Test", "In Sprint Testing")

 

I'm really struggling with the sub-query logic around linkedIssueOf and how to bolt it on to the above. Appreciate any guidance.

Thanks in advance

Ross

2 answers

1 vote
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
August 10, 2023

Hi @Ross B

Could you please clarify if you intend to use all the conditions you provided in your JQL in the linkedIssuesOf JQL Function?

Thank you and Kind regards,

Ram

Ross B August 11, 2023

I would need to use most of those conditions unfortunately. I could possibly tag everything with a label I suppose and simplify it. I'd just have to keep an eye out for new stories and keep tagging them.

0 votes
Ross B August 10, 2023

issuetype = Test AND issueLinkType in linkedIssuesOf("Your Query Here")

 

^not working for me so might be I don't have scriptrunner installed

Suggest an answer

Log in or Sign up to answer