Create a scrum board for a single Epic?

amol bansal June 20, 2021

I am trying to create a separate Scrum board for a single Epic. I am using the JQL query as follows:-

project = "xxx" AND (issuetype = Epic OR issuetype != Epic) AND ("Epic Link" = "yyy" OR "Epic Name" = "zzz") ORDER BY Rank ASC

The issue I am struggling with is to display Sub-Tasks in the Active Sprint and Backlog tabs.

Can someone help me with this?

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 21, 2021

Sub-tasks are not sprint items, they won't appear in the backlog or board as anything other than as a part of their parent issue (because that's all they are - a bit of a larger thing)

There's an annoying oversight in Jira when it comes to selecting sub-tasks.  In data terms, because a sub-task is part of its parent, they logically have the same Epic Link, Epic Name, Version, and Sprint (and a couple of others) as their parent does.  However, Jira does not cascade those down. 

So a search for "Epic link = yyy" will correctly select a set of issues, but it will exclude their sub-tasks because they don't have the field on them.

I'm afraid your search needs to be a lot more complicated, and you'll need apps to provide the JQL functions you need to be able to say "where parent's epic link is X, include that issue's sub-tasks"

amol bansal June 21, 2021

Thanks for your answer @Nic Brough -Adaptavist- 

Then the only way I can see to have more clarity on the kind of tasks we are working on is to convert sub-tasks into tasks and then track.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 21, 2021

Yes.  Thing is, if you're trying to build a board like this, it's quite likely that your sub-tasks are really stories, the layer below Epic, not parts of their parents.  So converting (most of) them upwards probably makes more sense.

I still think it's a weakness that Jira search and report doesn't tell us that sub-tasks are (automatically) part of an Epic because their parent is though.

0 votes
Daniel Turczanski - __JQL Search Extensions
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 23, 2021

Hi,
With standard JQL you can only get the direct children of epics. Subtasks are hard to fetch.

Standard JQL doesn't easily allow it but the results can be quickly found using our professional indexing service JQL Search Extensions.

You can simply search for:

issue in childrenOfIssuesInQueryRecursive("project='xxx' and 'Epic Name' = 'zzz'") or "Epic Name" = "zzz"

You can find out more in our docs.

I hope this helps!
Daniel

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events