In active sprints can we see epic links and sub-tasks to related to each story?

srinath January 3, 2018

I gave JQL query as - project = ABC AND "Epic Link" = ABC-290 ORDER BY Rank ASC in these case I am not able to see sub tasks related to story on the active sprint. How do I need to see both Epic Link and sub tasks?

1 answer

0 votes
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.
January 3, 2018

Hello,

I guess you can not do it out of the box.

1. If you have Power Scripts add-on, you could create a script like that

string [] keys = selectIssues("\"Epic Link\" = " + argv[0]);
string [] ret;
for(string k in keys) {
    for (string sk in subtasks(k)) {
        ret += sk;
        
    }
}
return ret;

And then you should write a JQL query like this

 project = ABC AND ("Epic Link" = ABC-290 OR key in silJQLList("jqlGetEpicStorySubTasks.sil", ABC-290))

2. If you have AdaptivistScriptRunner then you could do it with subtasks JQL function. You can find more information here

https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_subtasksof

Suggest an answer

Log in or Sign up to answer