Hi,
I am trying to create an automation that moves a Story to Ready for testing when all subtasks are marked as Done. I have followed instructions from AI to create the automation, but when I test it, the story does not move.
Any suggestions on what I am doing wrong?
Hi @Renate Chalcraft and welcome to the Community!
Yes; do not trust AI too much - even though it may be helpful on many occasions 😉 ...
You want to trigger your automation rule when a sub-task work item transitions. You have no condition in your current automation that checks upon that.
So: add an additional condition after the rule trigger to make sure the item transitioned is a sub-task.
Then, after that, add a branch to your automation rule as the next steps you'll need to take will concern the sub-tasks parent. This should be a related work items / parent branch. Move the condition to check if all sub-tasks match AND the transition work item action into that branch.
That should already be closer to what you are trying to achieve.
Hope this helps!
Hi @Renate Chalcraft -- Welcome to the Atlassian Community!
Adding to the suggestions from @Walter Buggenhout ...
I recommend not using any AI / bot-generated rule suggestions, even the built-in one from Atlassian. Such tools do not have access to your site's specific configuration and thus the generic guesses are frequently incomplete or just plain wrong.
There is a built-in template rule similar the scenario you describe, available from the rule list. It is named:
When all sub-tasks are done → move parent to done
When using that template, I recommend adding a condition after the trigger to check if the trigger work item is a Subtask, and then modifying the Status values to meet your needs.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.