Hey all,
I have an automation issue - I have a task, which when created has 5 subtasks. For the subtasks to be completed they must have a status of 'Approved' or 'not required'
I would like a rule that says when all 5 of these subtasks are either 'approved' or 'not required' the parent Task moved to complete.
This is the automation I have at the moment, but doesn't wait for all subtasks to be a completed status before transitioning.
Can anyone see what I'm doing wrong please?
Hi @Jenni Davison,
Welcome to Atlassian Community!
The reason the parent is not waiting for all sub tasks to be done is because you are not checking for it in the parent branch. If you go to Automation > Templates you will find a rule called "When all sub-tasks are done → move parent to done" and as you can see it includes a condition in the parent branch that checks that all sub tasks have reached done status.
Hi @Jenni Davison ~ I do something similar.
1. Confirm that transitioning the Parent (Task) to "Approved" is the correct status for that workflow (and not part of the sub-task workflow).
2. Also, if you have any workflow in place that disallows a parent from being closed while it still has open sub-tasks, you'll need to add a condition to ensure no other related sub-tasks are open: I use the related condition shown below.
HTH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone - really helpful. Much appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The other answers have addressed your specific issue.
I wanted to add that there is a Library of prebuilt Automation Rules and the use case you have is one of those prebuilt rules.
You would need to adjust the rule for the specific Status values in your configuration, but the structure is there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.