Is there a way to automatically transition a task issue once all of it's sub tasks are completed?

    I have the add-on Automation for Jira so I am able to use the JQL for my inquires. I am just not sure how I can have my tasks issue transitioned after all of it's sub taks are completed. I'm not sure how to make that connection between the taks and the sub tasks. 

1 answer

This widget could not be displayed.
Rachel Wright Community Champion Apr 07, 2017

Hi Jeremy, I use an add-on called "JIRA Misc Workflow Extensions" to do this.

Use Case:  When all child issues are closed, automatically transition the parent so users won't have to do it manually.


In the parent issue's workflow, add a Post Function, which will only be used by this automatic process.

  • Add the "Hide Transition" Condition to hide the button from regular users.
  • NOTE:  This transition cannot have any Screens or required field Validators.
  • Add a "Sub-Task Blocking Condition."  This prevents the parent from transitioning until all children are closed.
  • Example:  All sub-tasks must have one of the following statuses to allow parent issue transitions:  Closed

In the child issue's workflow, add a "Transition Parent Issue" post function to all "Close" transitions. 

  • Example:  Transition X will be triggered on the issue's parent issue.  (X is the ID of the transition in the parent workflow or the transition's name if it's unique.)
  • Move the post function to the last position in the list. (This rule must run last.)

This worked perfectly. Thank you for the help. 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 3 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

27 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