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".
You can use this action to update the Team field in automation.
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:
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":
THEN: (instead of putting the name of the JIRA field "TEAM", put the ID for the field and the team name, this solves it:
And so with each team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.