Can automation set assignee name depeding of team ?
Asked by Alexandre ANTOINE:

Hello

I've one team with only 1 person

Can automation set the assignation to this personn when the team is selected ?

Best regards


Answers:
author: Joseph Chung Yin
body: [@Alexandre ANTOINE](/t5/user/viewprofilepage/user-id/4648833)

Based on my understanding of your ask (assuming TEAM field is a custom field where user select at issue creation or AR for Jira Team field at issue creation), you should be able to using automation rule. Please see example automation rule below -

In my example - I am testing against issue type of "Problem". If the issue type check matched, then assign the issue to a specified user. You can change it to meet your needs.

![2022-01-11_10-47-47.png](https://community.atlassian.com/t5/image/serverpage/image-id/177292i6B1EED9F22C4C37C/image-size/large?v=v2&px=999 "2022-01-11_10-47-47.png")

Please note - For the TEAM field (assuming you are referring to the field found in AR for Jira plan), then further customizations will be needed as it is not exposed to Jira issue by default.

Feel free to provide more details and questions in regards to our implementation in dealing with AR for Jira Team attribute in our env.

Hope this will get you started.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.


author: Alexandre ANTOINE
body: Hello [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739) and [@Albert Manuel](/t5/user/viewprofilepage/user-id/1194936)

Thank for your answer

Sorry for the incomplete initial post :

Team is the Jira field used by Plans to manage capacity. It's unlock with premium version of Jira cloud

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

I can't create a new custom field of Team type

I create one team with only 1 user (me)

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

Here my automation rules

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

When I change Team value, automation log say "success", but nothing change for assignee

comments: author: Joseph Chung Yin
body: [@Alexandre ANTOINE](/t5/user/viewprofilepage/user-id/4648833) -

Ok. In our env, we created a custom field (single select dropdown type - Note it is not Team type) with the same option values based on our AR for Jira plan. At issue creation, this custom field is populated, then we evaluate the value and assign the issue to a specific user account.

Please note that you will need to make the Team defined in your AR for Jira plan as a Shared team and not private.

Hope this makes sense.

Best, Joseph


author: Alexandre ANTOINE
body: Hello Joseph

Thank for your reply, but my problem is different. I want to assign automaticly the issue to the user who's in the team. I don't need to create a new field to populate, except this field could be considere as "team" in AR and can show the capacity of the user

My team are define as shared in AR

Best regards


author: Albert Manuel
body: Hi Alexandre,

We will need more details on that, where do you select that team, and how? A screenshot will help.


Tags: advanced-roadmaps

automation

cloud