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
Good afternoon, I require your help to carry out an automation that when the second subtask is in the Finished state, the third is assigned to a specific user.
perform the tests that you can see in the screenshots
In these images you can see the automation that I created so that when choosing the Purchasing Company option in the Incident Type field, 6 subtasks are created.
These subtasks have a specific name and I enter the id of the parent issue.
I created another automation to edit subissue 2 and add the responsale but the problem arises when I want to say in which to make the modification.
This is where the problem arises because as I indicate in which sub-incidence to make the change.
Another option that I tried is that when the subtask is finished, the other one is created in the main subtask, but I think something is wrong in the condition because it wants to perform this action in the subtask and it sends an error.
I hope you can help me because I have already tried many ways and I can't find the solution. Also, if it's not too much trouble, could you tell me how to copy the comments from subissue 1 to 2? I look forward to your comments, thank you!
For this scenario, identifying the correct "next" subtask to work on may be the way to solve this.
If the subtasks have unique Summary values you could use a branch on JQL to find the correct issue for the assignment. For example, assuming the first subtask (the trigger issue) moves to your Finished status, the JQL to find the next one could be this:
parent = {{triggerIssue.parent.key}} AND Summary ~ "the specific text for your next subtask"
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.