Forums

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

A filter that only shows epics that have tasks

Adam Bang
Contributor
March 6, 2025

We have placeholder epics, meaning epics that will have tasks, but currently sit empty. When filling the backlog I don't want these epics to be included in the list.

To achieve this I will make a board based on a filter. This filter needs to exclude all epics without tasks. What would such a filter look like.

I found 

issue in portfolioChildIssuesOf("EPIC-123")

but this needs me to specify all epics I want on the board.

3 answers

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 7, 2025

Hi @Adam Bang

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 see only epics that have tasks as children:

issue in epicsOfChildrenInQuery("type = task")

Please contact our support if you have any other questions about this query.

We’ll be happy to help you!

0 votes
Varsha Joshi
Community Champion
March 6, 2025

I do not think backlog has epic's listed in them. All issues created whether they have an epic link or not should show in the backlog.

0 votes
Marc - Devoteam
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 6, 2025

Hi @Adam Bang 

You described the option available.

If you want this otherwise, you will need to purchase an JQL extensions app from the marketplace.

Natively there is an automation option for this.

"Adds  specific label to Epics with no children.

The trigger can we scheduled to run once a day, or just when someone creates an issue.

The automation does the following:

  • Remove the label "thisEpicHas0Children" from all tickets that has this (reset)
  • Find all Epics in a project.
  • Use a "Related issues condition" to find all Epics with 0 children.
  • Add the label "thisEpicHas0Children" to those

You can now make a JQL query that searches for all tickets with this label.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events