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.

1 answer

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