Group Epics as Swimlanes with/without child issues

Juan Carlos Blanco Delgado December 11, 2020

Hello, 

I have set the swimlanes to be grouped by epics, but as we have an automation to create epics using the API, we have some epics without any child issues.

On the kanban board, we can see the epics but only those with child issues, and I need to a query to group by epics with/without child issues to be visible from the kanban board.

Thank you.

1 answer

0 votes
Bill Sheboy
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.
December 15, 2020

Hi @Juan Carlos Blanco Delgado  -- Welcome to the Atlassian Community!

You cannot display epics without children on the board using epic swimlanes.  Here is a suggestion to add that feature, which you may view and vote for:

https://jira.atlassian.com/browse/JSWCLOUD-15533

And, I do not believe that you can create a JQL query with out-of-the-box Jira to list epics with no children.  If you have one of the scripting add-on products from the marketplace this is possible.  Another alternative is to add a custom field, such as ChildCount, to epics and use automation rules to update the count.  Then you may report on these epics.

Those work-arounds may be too much cost/effort for a short-term problem if you only have epics for a short while before adding the child items. 


Best regards,

Bill

Juan Carlos Blanco Delgado December 21, 2020

Hi @Bill Sheboy , thank you for the welcome message and the reply.

Yes, you are right. Do what I was aiming to do out-of-the-box only using JQL query was not possible, or at least I could not do it.

However, I found a workaround using Jira Automation, which it does what I need to do, and works great.

My final query that checks an Epic created and not updated since five days ago is as follow:

project = PROJECT_NAME AND issuetype = Epic AND created <= -5d AND updated <= -5d ORDER BY created DESC

After that, I run a condition to check if the Epic has not stories (or other issues in this Epic) as the image below shows:

 

Screenshot 2020-12-21 at 12.07.19.png

And because I enable only to send the remainder to those epic that have changed since the last time the ruled was executed, the final result is the same :)

 

Even though I could not group on the swimlanes the epics without issues, I could find another alternative to show inform the team of their existence.

Thank you for your reply again @Bill Sheboy .

 

Best regards,

Juan Carlos Blanco Delgado

Like Bill Sheboy likes this
Bill Sheboy
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.
December 21, 2020

Hi @Juan Carlos Blanco Delgado 

Well done using automation that way!  In addition to sending a reminder, have you considered to add a label, component, or flag to the epic in the automation rule? You may create the swimlane based upon those values.

Best regards,

Bill

Suggest an answer

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

Atlassian Community Events