Forums

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

Bug epic should not close when all the tasks/sub tasks are closed

Sushmita Chakraborty
Contributor
August 8, 2024

Hello Team,

I usually create epics for bugs for various products that my company produces.

I don't want the epic to close when I close all the bugs (which are task and sub tasks) under that epic.

Can I form a rule specific to issue type i.e., Bug?

2 answers

0 votes
Maciej Dudziak _Forgappify_
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.
August 8, 2024

Hi @Sushmita Chakraborty 

To prevent the closing of an epic based on its child issues (both sub-tasks and regular issues), the best approach is to use a workflow validator. Alternatively, you can try Automation, but keep in mind that while Automation can't prevent a status change, it can revert it back to the previous status.

There is no out-of-the-box validator for such case, therefore we've developed the Linked Issues Validator available as part of the Workflow Building Blocks for Jira app. With a wizard-like UI, you can select options that represent your case. You can choose relations from: sub-tasks, parent issues, stories, children, and linked issues. Additionally, you can filter relations by issue types and select criteria based on status category and status

In your case, the "Children" option would be the best, as it tests both regular issues and sub-tasks under the Epic.

I am leaving a link to the app's documentation if you are interested.

 I hope it will help.

Cheers

0 votes
Dick
Community Champion
August 8, 2024

Hi Sushmita,

t's more the other way around. Epics do not get closed by themselves and one would need an automation to close them. 

So best check the automations that can run for you project and disable those.

Cheers,

Dick

Maciej Dudziak _Forgappify_
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.
August 8, 2024

Hi @Sushmita Chakraborty 

Did you mean to restrict - prevent closing of the epic ?

Sushmita Chakraborty
Contributor
August 8, 2024
Dick
Community Champion
August 8, 2024

No, prevent any automation to close epics. 

In the default version of Jira, epics stay open, even if all tasks are done.

Sushmita Chakraborty
Contributor
August 8, 2024

@Dick  Noted.

Suggest an answer

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

Atlassian Community Events