How to assign group menber to each issue assignee
Asked by Naoki:

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](/t5/image/serverpage/image-id/311734i53CFC060D1738247/image-size/large?v=v2&px=999 "0.png")

![01.png](/t5/image/serverpage/image-id/311731i4EAE672F6158E546/image-size/large?v=v2&px=999 "01.png")![02.png](/t5/image/serverpage/image-id/311730i73920C5DA5A5E559/image-size/large?v=v2&px=999 "02.png")![03.png](/t5/image/serverpage/image-id/311732i9239B474DD43C280/image-size/large?v=v2&px=999 "03.png")

But child issue assignee is unassigned.

How to assign group member each issue?

Thank you.


Answers:
author: Sebastian Krzewi?ski
body: Hi [@Naoki](/t5/user/viewprofilepage/user-id/5451340)

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](https://community.atlassian.com/t5/image/serverpage/image-id/311738i3CC4050161F3B54D/image-size/large?v=v2&px=999 "Screenshot 2024-03-13 at 08.53.36.png")

I feel that this can be a better solution.

Regards,

Seba

comments: author: Naoki
body: Hello [@Sebastian Krzewi?ski](/t5/user/viewprofilepage/user-id/1561725) . 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](https://community.atlassian.com/t5/image/serverpage/image-id/311983iF03EE503DC0C097D/image-size/large?v=v2&px=999 "3.png")

2. Select round robin option. Set smart value in user list. ![2-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/311981iC2515B704D4DB43E/image-size/large?v=v2&px=999 "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](https://community.atlassian.com/t5/image/serverpage/image-id/311986iB936F5534EEC668A/image-size/large?v=v2&px=999 "2-2.png")

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

Many thanks,

Naoki


author: Sebastian Krzewi?ski
body: Hi [@Naoki](/t5/user/viewprofilepage/user-id/5451340)

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


author: Marc - Devoteam
body: Hi [@Naoki](/t5/user/viewprofilepage/user-id/5451340)

Welcome to the community.

I have seen your ask and the replies from you and [@Sebastian Krzewi?ski](/t5/user/viewprofilepage/user-id/1561725)

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](https://community.atlassian.com/t5/image/serverpage/image-id/312043iCA2985881776DF1E/image-dimensions/387x304?v=v2 "Screenshot 2024-03-14 at 09.29.57.png")

comments: author: Naoki
body: Hello [@Marc - Devoteam](/t5/user/viewprofilepage/user-id/3796976) .

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](https://community.atlassian.com/t5/image/serverpage/image-id/312285i63F814DA146454A9/image-size/large?v=v2&px=999 "4-1.png")

I want to assign to child issue, like this:

![4-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/312284i0DC94D21B3A91C1F/image-size/large?v=v2&px=999 "4-2.png")

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


author: Marc - Devoteam
body: Hi [@Naoki](/t5/user/viewprofilepage/user-id/5451340)

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.


Tags: cloud

jira-work-management-cloud