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

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

This widget could not be displayed.
Alexey Matveev Community Champion Jan 03, 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
Community showcase
Posted yesterday in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

45 views 2 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you