Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Autofill the "Team" field when selecting the person assigned to the issue.

Maximiliano Rojas
Contributor
July 29, 2024

 

 

I want to know if it is possible to create an automation so that the "Team" field is automatically filled once the assignee to the issue is selected.

It would be something like this:

Trigger: When the "Assignee" field is updated.

Condition: If the "Assignee" field is not empty.

Action: Update the "Team" field based on the value of the "Assignee".

3 answers

1 accepted

2 votes
Answer accepted
Tansu Akdeniz
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 29, 2024

Hi @Maximiliano Rojas 

You can use this action to update the Team field in automation.

team edit.png

As I know, you can't check assignee's team in conditions. So, you need to add if/else conditions in your rule.

These are open tickets:

JRACLOUD-74842 Ability to search by Team using JQL 

JRACLOUD-81400 Add support for membersof function in JQL

0 votes
Maximiliano Rojas
Contributor
July 29, 2024

Here is the resolution I found and it works based on what both mentioned to me, if the assignee is one of: "name of the team members":

 image.png

THEN: (instead of putting the name of the JIRA field "TEAM", put the ID for the field and the team name, this solves it:

 image.png

And so with each team.

Maximiliano Rojas
Contributor
July 29, 2024

@Tansu Akdeniz @Rune Rasmussen  Ty for the hepl!

0 votes
Rune Rasmussen
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.
July 29, 2024

As far as I can find, there is no built in way to achieve this.

I can't find anything in any of the REST APIs that returns the group memberships of a user, and the GraphQL APIs relating to Teams doesn't seem to have a way to do it either.

You could probably find something in the Developer Tools (F12) of your browser, under the Network tab, if you snoop around in the Teams menu of Jira.
This would probably be an internal API and a bad idea to use in your production setup.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events