JQL Question About Sub-Task Searches

Andres Dominguez November 17, 2017

Hi,

I am trying to query all open sub-tasks linked to stories, and then these stories that are linked to a single epic. 

I'm trying to do the below query but it doesn't return anything as the sub-tasks don't have a place to put the epic link. 

project = X and type = sub-task and "epic link" = (X-123)

 

How do I get the sub-tasks associated to this epic pulling? Or is there perhaps a way to nest / embed a query within a query? 

 

Thank you, 

AD

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
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.
November 17, 2017

Hello,

If you have Adaptivist Scriptrunner installed, it would be like this

issueFunction in subtasksOf("\"Epic link\" = X-123") 
Andres Dominguez November 17, 2017

This is perfect - thank you!

Suggest an answer

Log in or Sign up to answer