Forums

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

Filter that shows hierarchy

Michael Szczepanski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 27, 2025

How do I create a filter to show the Epic, each of the User Stories, and each of the Sub-Tasks under each User Story?  Example:

  • Epic
    • User Story 1 
      • Sub-Tasks 1,2,3
    • User Story 2
      • Sub-Tasks 4,5,6

I can show all but the Epic, but if I do show the Epic, the User Stories and Sub-Tasks are not in the hierarchy.

4 answers

0 votes
Rahul_RVS
Atlassian Partner
March 28, 2025

Hi @Michael Szczepanski 

 

Welcome to the community !!

As everyone suggested a mktplace app can help here. If you are fine to explore one, I can suggest our app

Issue Hierarchy 

The app also allows you to view your project issue hierarchy in a tree view. You can view %complete progress at each parent level. It roll ups the time tracking fields, story point or numeric fields at each parent level.

Disclaimer : I am one of the app team member

Epic Hierarchy - New.PNG

0 votes
Danut M _StonikByte_
Atlassian Partner
March 28, 2025

Hi @Michael Szczepanski,

Welcome to the Atlassian Community!

Try using a JQL filter like this:

parentEpic = DEMO-188

or

parentEpic IN (DEMO-188, DEMO-200, ...)  - if you have multiple epics.

This will return all the issues under the epic along with the epic itself. 

image.png

 

But the JQL will not display the issues by their hierarchy; they will be displayed in a list.

To display the issues by their hierarchy you will need an app from Atlassian Marketplace.

In case you want to try an app, our Great Gadgets app for Confluence Cloud offers a Work Breakdown Structure (WBS)  macro that can display the issues by their hierarchy Epic > Stories > SubTasks along with their current status. It can also display initiatives on top of epics. All you have to do is to configured this macro with a filter/JQL that returns the epics and their child issues (as in my example above).

image.png   

Danut.  

0 votes
Charlotte Santos -Appfire-
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.
March 27, 2025

Hi @Michael Szczepanski 

I’m Charlotte, a support engineer at Appfire and I’m here to help you.

Unfortunately, natively, you’ll not be able to do it dynamically.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to get all Epics, Stories and sub-tasks in the hierarchy:

issue in childrenOfIssuesInQueryRecursive("type=Epic") OR issue in parentsOfIssuesInQuery("type=Story")

Please contact our support if you have any other questions about this query, or the app in general.

We’ll be happy to help you! 😉

0 votes
Mikael Sandberg
Community Champion
March 27, 2025

Hi @Michael Szczepanski,

You would need an app from the Marketplace in order to do this. There apps that extends JQL, like Extended search and JQL Tricks, that can get you the result you are looking for. Another option is JXL, which can order your work items based on the hierarchy.

Suggest an answer

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

Atlassian Community Events