Hello,
I am trying to create an automation to assign auto created subtasks to specific users. After the issue type story is created , the assignee is being picked by balanced workload assignee rule which works fine. Then a couple of subtasks are created. First subtask needs to be assigned the same assignee as the parent issue which was selected by the balanced workload assignee rule. However it does not work. I changed the assignee to parent issue, copy from the issue, copy form trigger unfortunately none of them works. The second subtask is automatically assigned to the reporter which works fine.
Any idea what am I missing? Please let me know if you have any suggestions.
Thank you.
Hi @Elif Alverson , in your rule the Assign action is operating on the main story not the sub-task. You need to create a branch component for the subtask just created right after the creation. With that said, if I better understood what you were trying to accomplish, I may be able to create an automation rule that meets all of your needs. But I'm not quite sure I follow. Are you wanting each sub task that is created under the story to be assigned to specific users, or in a balanced workload?
@Jack Brickey , thank you for your quick response.
I want the first sub task created under the story to be assigned the same assignee as the parent/story. This assignee is picked by the balanced workload automation.
Second sub task to be assigned to the reporter of the parent/story which works fine at this moment.
Does that make sense? Please let me know , if you are understand what I am trying to do. Thank you so much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So your issue is getting the first subtask assigned to its parent assignee then? If so could you add a refetch data action before creation of the first subtask? Note the last action component is unnecessary here and should be removed I believe.
If this does not work please highlight the first subtask creat so I can see the details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I updated the automation as below and it worked. Thank you so much. If you do not mind could you tell me what re-fetch does?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add the refetch then test. If it does not work please click on the create subtask component so I can observe. You should elect to set the Assignee field and choose copy from trigger issue or parent if that is an option.
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.