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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.