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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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?

2 answers

1 accepted

0 votes
Answer accepted

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

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 Karl FURGEROT likes this

@andreas The branch is possible only with the PRO version, any workaround for the free version of automation?

Question: We are using Sub-Tasks and Tasks in an Epic to manage onboarding.  I am able to get the Epic to close when all Tasks are completed, but it does not close when a sub-task of the Epic is closed. 

In the audit log when the final sub-task was closed, the action details stated:

"This rule was configured with a project restriction. You can change this restriction in the 'Rule details' section. Only issues from the following projects or project types will be considered:HR"

Is there something wrong in my Automation rule?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

462 views 5 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you