In Team- Managed Project, I try to block parent issues to Done status if subtasks are not completed. But there are few rules for Team - Managed project. How can I set up this rule by Automation and What are the specific steps?
Thank you
Hello @Nhung
You cannot use an Automation Rule to directly block a workflow transition.
Automation Rules are triggered at the conclusion of an event, such as the transition of an issue. The rule would not be triggered until after the issue status had completed the change to Done.
You could use an Automation Rule to change the issue back to its previous status if there were subtasks open.
You could also use a custom field in the parent issue to keep track of how many subtasks are not Done, using an Automation Rule to update the custom field. Then in the transitions you could use the workflow transition rule for "Restrict to when a field is a specific value" to confirm that the custom field indicated no not-Done subtasks in order for the transition to proceed.
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.