Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

More elegant solution for multiple children of multiple EPICS

Darren Monaghan October 13, 2022

Hey folks

Been wrecking my head how to make this query look better and I just can't rattle it out of my brain.
So I have lets say 3EPICs and under each EPIC I have 5Stories a piece. If I want to display these all I have to do the following

(issue in childIssuesOf("EPIC1") OR (issue in childIssuesOf("EPIC2") OR (issue in childIssuesOf("EPIC3")) OR Issue in (EPIC1, EPIC2, EPIC3)

The issue is I actually have about 15EPICs and around 10-15 stories/sub-tasks under each so the JQL is cumbersome. I obviously can only do one EPIC per 'childIssuesOf' so does anyone know a better way.
Possibly setting up a separate Filter and using it for the query maybe?

Appreciate any responses.

2 answers

2 votes
Mikael Sandberg
Community Champion
October 13, 2022

You would need an app in order to not have to include each epic in the JQL. There are a handful of apps in the Marketplace that expand JQL that allow you to do nested searches. I have used both Scriptrunner and JQL Tricks for this, but I would recommend checking the other apps as well to find the one that works for you.

Florian Bonniec
Community Champion
October 13, 2022

With Scriptrunner for JIRA

issueFunction in issuesInEpics("project = XXXX")
Like Mikael Sandberg likes this
Darren Monaghan October 14, 2022

Thanks for this but unfortunately we don't have script runner :/

0 votes
Dan -minware-
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.
October 13, 2022

Disclaimer: marketplace partner!

Hey @Darren Monaghan -

FYI we are working with another user on custom epic views in minware. See this post here:

https://community.atlassian.com/t5/Jira-Software-questions/Roadmaps-Epic-Scope-Task-estimates-and-everything-in-between/qaq-p/2156879#U2160780

We might be close to what you're looking for out of the box - our current epic roll up includes an author grouping that we can easily remove - here you can see an overview filtered down to 2 epics:

epic_view_minware.png

The + at the beginning of the timeline for each epic is where we will put milestones. Would be happy to hear your feedback and try to incorporate it into the next iteration if it makes sense. Let me know if we can help!

Suggest an answer

Log in or Sign up to answer