Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,458
Community Members
 
Community Events
176
Community Groups

How to automatically close all linked issues when parent issue closed?

Is there a way to Close Epics when all child issues are marked done/closed? Right now I noticed we have to change each Epic manually which is very time consuming. 

Thanks,

Sunitha

3 answers

You can setup a post function on the transition to close an epic when all linked issues are closed. https://confluence.atlassian.com/adminjiracloud/advanced-workflow-configuration-776636620.html#Advancedworkflowconfiguration-postfunctions 

Here's a screen cap of it configured.   You'll have to figure it on all of your workflows.  2019-06-05_9-36-42.png

0 votes
Rik de Valk Community Leader Sep 06, 2018

Hi, like Nir suggests, you can use ScriptRunner. With Scriptrunner you can create a scripted post function in the workflow for Stories which checks if it is the last unresolved child issue and closes the Epic if true. 

However, bear in mind that users not always want to have the epic closed automatically. A better solution would be to present the user with a screen that asks the user if the epic can now be closed. 

Hi Rik, Appreciate your response. As I mentioned in my comment to Nir, I am looking for a way to do this without add-on. I'm aware this can be done using ScriptRunner.

I tried Automation Lite but there is a limitation to apply an automation rule to all users in a project and moreover it is working at story level, but not at Epic level

0 votes
Nir Haimov Community Leader Sep 06, 2018

Hi,

If you have scriptrunner and you know groovy, you can write a code that will do it for you.

Thanks for your feedback Nir. I am looking for a way to do this without any additional add-on. We don't have ScriptRunner 

Nir Haimov Community Leader Sep 06, 2018

Hi @Sunitha

Unfortunately, there is no way to achieve this natively in Jira without plugin.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events