I want to close Epic when all its issues are in Done status. I want the rule to be like this:
1. All sub-tasks must be transitioned to Done → Transition the parent story to Done.
2. All stories must be transitioned to Done → Transition the epic to Done.
For this, I can able to achieve the first one but not able to achieve the second.
I want these conditions to come under one rule.
I want to know what is the issue in it.
Thanks
Hi @Jayanth
That may not be possible in one rule. The reason is there could be timing / delay issues caused by transitioning the parent Story. Given the possibility of workflow or additional rule interaction, the event will not happen instantaneously.
I recommend creating a second rule for detecting the Story transition and then transitioning the parent Epic. In this rule, enable this option in the rule details "Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule."
If you still want to take a chance that there will be no timing problems with a single rule, your second branch on parent should change to a branch on JQL, with key = {{triggerIssue.parent.parent.key}} and that branch should be preceded by a check to confirm the smart value is not empty.
Kind regards,
Bill
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.