How to assign group menber to each issue assignee

Naoki March 13, 2024

Hi All.

I want to create following automation rule:

1. create parent issue (include target groups)

2. create child issue by automation (same as number of members in groups)

3. each group member assign to each child issue's assignee

 

For example:

target group member : Tom, George, Jimmy

child issue:

   child issue1's assignee is Tom.

   child issue2's assignee is George.

   child issue3's assignee is Jimmy.

 

So, I'm create following automation:

(Target groups is in custom field 'TargetGroupList'. )

0.png

01.png02.png03.png

 

But child issue assignee is unassigned.

How to assign group member each issue?

 

Thank you.

 

2 answers

1 accepted

1 vote
Answer accepted
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 13, 2024

Hi @Naoki 

 

Did you try to use round robin option for specified list of users in Assign issue action?

Screenshot 2024-03-13 at 08.53.36.png

 

I feel that this can be a better solution.

 

Regards,

Seba

Naoki March 13, 2024

Hello @Sebastian Krzewiński . Thank you for responsing!

 

I did not know round robin option. Thanks for letting me know.

 

I decided to try round robin option.

1. Add Assign issue action.

3.png

 

2. Select round robin option. Set smart value in user list. 2-1.png

Unfortunately this did not work. It appears that smart value cannot be used for user list.

 

I tried the following settings as a test, but did not work.

  • Assign the issue to : Smart value
  • User : targetGroupList (smart value)

2-2.png

 

If you have any other solutions, could you let me know.

 

Many thanks,

Naoki

Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 14, 2024

Hi @Naoki 

 

You need to put there users, not variable. As I know variables cannot be a list.

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2024

Hi @Naoki 

Welcome to the community.

I have seen your ask and the replies from you and @Sebastian Krzewiński 

What you want won't work as the assignee field can only have a single user as value.

You are using a variable created on a group and you are actioning to set the variable as the assignee, what are 3 users ,as they are in the group., this can't work.

You can use the round robin or balanced option and use the user in a group option and select the user group that you have used.

Screenshot 2024-03-14 at 09.29.57.png

Naoki March 15, 2024

Hello @Marc - Devoteam .

Thank you for responsing.

 

I changed "Assign the issue to" to "User in a group", it works!

Thanks for letting me know.

But that was not what I assumed.

 

The group member assign to parent issue. 

("Jimmy" is the first member of the group)

4-1.png

 

I want to assign to child issue, like this:

4-2.png

 

Do you know how to assign group member to child issue?

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2024

Hi @Naoki 

So where did you place the action in the automation within the branch or outside the branch?

It seems its outside the branch where the sub-task is created.

Suggest an answer

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

Atlassian Community Events