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

0 votes

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
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,771 views 18 21
Read article

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