I would like an issue to be transitioned when all of its subtasks and any linked issues are transitioned to closed.
linked issues will always be using the same link value.
I've tried a number of things. I even installed Scriptrunner but alas no cigar.
This must be achievable.
Any help would be greatly appreciated
You should be able to pull this off using a rule like this:
Trigger the rule when a sub-task transitions to closed (the example is based on the template library and statuses / conditions do not match your use case 100%, but the essential pieces are there).
You may want to add a condition in the beginning to see if your trigger issue is a sub-task.
You can create a second rule for standard issue types (i.e. issues that are not sub-tasks) and replace the For Parent branch with a For linked issues branch using more or less the same logic.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Walter Buggenhout - Got an issue buddy! If i close the linked issue last nothing happens (not even registered on automation audit log. Where as if a close the sub tasks last the automation works. Any thoughts? Thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Walter Buggenhout yeah its does not like the linked match.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you say seems like i need two rules. One using parent for subtasks and one "for linked issues". Trouble is i only want the automation to trigger when sub tasks and issuelinks are complete and not being able to add both in the same rule using an "and" scuppers that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.