How do I set the Epic as Done if all Stories are Done with Automation for JIRA?

Andreas Knecht Community Champion Jan 18, 2017

I'd like to automatically transition the parent Epic to 'Done' when all stories in that Epic have been finished.  Is this possible with Automation for JIRA?

1 answer

1 accepted

0 votes
Answer accepted
Andreas Knecht Community Champion Jan 18, 2017

Yes this is possible with the related issues action and condition! Here's an example rule:

Project automation - Code Barrel JIRA 2017-01-19 08-27-16.png

Here's what this does:

  • The rule is triggered when any issue is transitioned
  • Next we check with a JQL condition that the issue was a story and it's now set to 'Done'
  • Then we branch off using the related issues action for the Epic of this story
    • We then check if all stories in this Epic match status = Done
    • If that's true we transition the Epic to 'Done' as well



Hi Andreas,


I've tried both your version and my modified version below and unfortuantley it's not working. What's weird is that I have 2 tasks linked to the Epic. When I transition both from To Do to Done, nothing happens. But then when I transition 1 (either) of the tasks back to "To Do" from "Done" it updates the status of the Epic from To Do to Done.

Of course, it should be updating the status when the both tasks linked to the epic transition to Done.

2017-08-30 at 6.57 PM.png

Andreas Knecht Community Champion Aug 30, 2017

Hi Dom,

So that's strange - your rule looks correct to me.

Can you please raise a support request at and include:

  • Screenshot of your rule's audit log
  • Screenshot of the issue history tab showing the transition



Andreas thanks for the speedy reply CBS-3090

Like 1 person likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


182 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you