Forums

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

Filtering all related itens (issues, etc) by an specific epic

Fabio Belotto September 29, 2023

Hello guys,

I´ve seem many many questions and discussions about this question, but not a simple answer that does not demand an external plugin!

how could I simple filter my itens (task, histories, subtasks) by just the epic! Is that so hard!?

1 answer

0 votes
Trudy Claspill
Community Champion
September 29, 2023

Hello @Fabio Belotto 

What are the end results you are trying to achieve?

The "View all issues" screen in Jira allows you to create a filter to get a list of issues. If you want to get all the child issues of a specific Epic you can do that with:

Parent = issue key for Epic

That will not give you the subtasks that are under the child issues of the Epic.

Unfortunately there is not a Jira-native way to nest filters so that you could, for instance, do something like

Parent = issue key of Epic or Parent in (Parent = issue key of Epic)

And there is no "subtasksOf" function that accepts a filter as input.

The bottom line is getting both child issues of an Epic and the subtasks of those child issues is not possible with native Jira search functionality.

Fabio Belotto September 29, 2023

That's the question. 

I would like to simply filter all my board by a specific epic. 

 

With available options, I don't get to the subtasks. Jql is quite not useful by not accepting a simple recursive selection (given the options that I would need to use... )

 

And using external plugins is always a compatibility issue. 

Trudy Claspill
Community Champion
September 29, 2023

Good news! I was wrong!

 

I found a post that I actually answered from 2020, but I got the answer from somebody else.

If you use a filter like this you will get the child issues of the Epic and the subtasks of the child, when all issues are in Company Managed projects.

Parent=issue key of Epic or (issuetype in subTaskIssueTypes() and parentEpic=issue key of Epic )

 

The above does not work for Team Managed projects, unfortunately.

Like Fabio Belotto likes this
Fabio Belotto September 30, 2023

Interesting option.

I currently use an team managed instance because company managed seems a little bit confusing to set up, but I may try. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events