You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
We have a User Story with developer sub-tasks and QC sub-task
I want to auto-transition User Story to "READY FOR TEST" status when all developer sub-tasks have been Done.
Please help to create automation rules for this,
Many thanks!
Hello @Tâm_ Nguyễn Thanh
How do you distinguish developer sub-tasks from QC sub-tasks? Are they different sub-task issue types?
Have you attempted to construct this automation rule? If so, please show us what you have so far.
Yes, inside a User story, we create Developer sub-tasks distinguish from QC sub-task, Developer sub-tasks and QC sub-task are different issue type
We want to move the User story status from CODING to READY FOR TEST when all Developer sub-tasks have DONE
We attempted to construct the rule by using JQL to compare the number of Developer sub-tasks (1) with the number of Developer sub-task has DONE (2), if (1) = (2) then User story will transition from CODING to READY FOR TEST, but this not work because JQL collected all sub-task not only the subtask inside the certain User story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please show us the automation rule you constructed.
Please show us the Audit Log details for the execution of that rule.
Please show us the issue for which the rule is being run that goes with the audit log details.
Please show us the issue types that are available to the project so that we can confirm if the Development sub-task and the QC sub-task are separate issue types.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
bellow is the content of the rule
(the sub-task represent developer sub-task as mentioned above)
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the rule that you need.
In the JQL where I have
or issuetype="QC Sub-task"
...you need to include all the possible sub-task types that you want to ignore that could exist under the parent issue.
or (issuetype in ("QC_SubTask", "BA_SubTask", "Sub-Bug"))
The net effect of the condition is to check all the Sub-tasks under the specified parent and confirm that
- all the development sub-tasks ("Sub-task") are in a status=Done
- any other sub-tasks types can exist under the parent and their statuses don't matter
If there is a development sub-task that is not done, the condition will fail.
The problem with your condition is that you are simply doing a JQL match and your JQL doesn't include a condition to check that the sub-tasks being evaluated belong to the parent issue you are working against.
Even though you selected the Related Issues condition, you still have to have something in the condition that defines the relationship between the parent and the issues you are checking.
When you select "Sub-tasks" as the Related Issue value, then the condition know that you want to look at the sub-tasks only of the parent issue you are working against. When you choose JQL, you have to add criteria to your JQL to constrain the sub-tasks it finds to be the sub-tasks of just the parent issue you are working against.
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.