Forums

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

Automation to change team based on the Assignee

Selva Praveen Elango July 3, 2024

I need to Automate the Team value based on the Assignee of the story 

I have set up team in JIRA and added members to the team , now i want to automatically assign the team when a assignee from the team is assigned to the story 

need to do the below 

when change assignee in the story

Then check the team of the assignee in jira 

Change the team value to the assignee team 

 

2 answers

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 3, 2024

Hi @Selva Praveen Elango ,

interestingly enough, I was just commenting on a previous post related to your post here. How-do-I-configure-an-automation-rule-to-set-the-Teams-value 

the issue, I believe, is that we do not yet have the ability to use JQL to assess if the user in a user field is a member of a team or return the Team(s) that a user is a member of. Here are a couple of open tickets

JRACLOUD-74842 Ability to search by Team using JQL 

JRACLOUD-81400 Add support for membersof function in JQL 

0 votes
Phil Arnold July 3, 2024

Hi there,

when you say "Team" do you mean a team created from the "Search People / Teams" function or a group created via Jira Admin?

Am struggling to think of a way to achieve this other than creating an if assignee = "Joe Bloggs" then [set team} automation but it would be difficult to maintain especially if your teams are big.

Cheers,

Phil

Selva Praveen Elango July 3, 2024 edited

@Phil Arnold Yes i am referring to "Search People / Teams" function in JIRA 

The solution that you suggest would work creating if clause to check assignee and assign the team by that would needs to be updated every time we have a new member gets added to the team or someone leaves 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 4, 2024

Exactly. Not ideal for sure. If you go this route I would add an else ate the end that sends an email to the 'rule admin' to indicate 'no team found for assignee'. This will allow the admin to inspect and update the rule as needed.

Suggest an answer

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

Atlassian Community Events