I have an automation to create 9 subtasks when a particular ticket type is used. I set the assignee of the parent ticket to the assignee of the first sub task. The tasks will be preformed sequentially. Is there a way to set the parent ticket assignee to the assignee of sub task 2 when subtask 1 is completed? as an automation will create the subtasks I would expect them to follow on numerically if that helps?
Short answer: maybe.
More information...
In automation rules, things which branch on multiple things/issues or perform multiple actions together happen in parallel. And so ordering of saved/updated issues is not guaranteed.
For your subtasks, can you determine their order by some field, such as by the summary? For example: "step 01 - do something", "step 02 - do that other thing", etc.
If so, I recommend creating JQL to return the subtasks in that order, load them with a Lookup Issues action, and then access the one you want using the list functions, such as first, last, or get().
Kind regards,
Bill
@Elaine Cawthorne you can add an Assign issue action in your parent issue set Assign the issue to smart value and User to {{issue.subtasks.get(1).assignee}} . This way it will take the assignee of second subtask.
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.