Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Assign Automation does not function properly

Elif Alverson
Contributor
April 10, 2023

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. 


Screenshot 2023-04-10 at 9.09.50 AM.pngScreenshot 2023-04-10 at 9.10.46 AM.pngScreenshot 2023-04-10 at 9.11.11 AM.pngScreenshot 2023-04-10 at 9.11.34 AM.pngScreenshot 2023-04-10 at 9.21.26 AM.png

1 answer

1 accepted

2 votes
Answer accepted
Jack Brickey
Community Champion
April 10, 2023

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?

Elif Alverson
Contributor
April 10, 2023

@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.

Jack Brickey
Community Champion
April 10, 2023

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.

Like Elif Alverson likes this
Elif Alverson
Contributor
April 10, 2023

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?

Screenshot 2023-04-10 at 9.48.58 AM.png

Jack Brickey
Community Champion
April 10, 2023

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.

Jack Brickey
Community Champion
April 10, 2023

Excellent. Please click on the accept answer.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events