Hi all!
I'm trying to create an automation that when each subtask is completed, the parent issue is transition to the next status.
For example, first the issue is created with the components necessary to trigger the rule, then forms are added, and last a subtask is added.
From there a parent branch is added that says when the subtask equals status done, transition the parent issue status to 'configure' however it's not working. What am I missing?
I'd like to apply additional subtasks and transitions to this same rule (once I get the first transition to work) to ensure certain tasks are marked as done throughout the workflow statuses:
.
Thank you!
Alyssa
You would have to create multiple automations in order for this to work. The way your rule is currently configured it is expecting that the issue that triggered the automation is in the the closed status and it has a parent.
Your first rule should be in issue create and that will add the forms and the subtasks. The second rule would trigger on when an issue moves to the Done status, and you can add controls to make sure it is a subtask and if so then use your branch above to move the parent issue to the next status.
Hi @Mikael Sandberg I decided to try this out with a more simple workflow to begin, but am still lost-
Here's what ive tried so far:
1)
This did now allow the parent issue to be updated as intended.
2) I've also tried this, but same result, parent status does not update:
Are you saying I would need 3 different automation rules in this case?
1) for the creation of task, and subtasks
2nd for, 'some' condition for subtasks
and a 3rd, for the final subtask condition that states all must be marked as done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need at least two automations. The first one would be on issue create which adds the subtasks that you want. The second would be on issue transition that moves the parent issue to the next status and would look similar to this automation template:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mikael Sandberg For the 2nd automation rule, what is initial the trigger? I can't seem to get it to work. It looks like you are having it based off the issue being transitioned to 'done' ?
For my use case it can't be when an issue is transitioned because I want to rule to transition the issue so a real person is never manually transitioning the parent issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alyssa Hill The second rule would trigger on transition as pictured above and because you are using the parent branch it would only run if the issue that is transitioning is a subtask and then you use the parent branch to transition it to the next status.
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.