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
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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,934 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot