Hi Team,
I want to define automation rule for my project issues. When Assignee is from list of people then team field in Issue should be autopopulated with team name. I dont know how to create multiple teams.However,if there is option to create team names based on users in assignee field,I can go for that approach.
I have also used "Teams" section of jira and teams are created and it shows as contributing teams under project but Jira has limitation to show those teams for issues summary in filter hence cant go for this approach.
Please advise how can I setup automation rule for users and related team name.
Thanks in advance for your help!!
Short answer: what you describe is not possible.
Using automation rules, the Team field may be set using the id value and JSON, but not the name. For example, with an example custom field id and team, that could be this in the Edit Work Item action:
{
"fields": {
"customfield_12345": "789abc123"
}
}
However, I do not believe there is a way to find the Team for a specific user. Instead, the REST API endpoints only support the opposite: finding the users assigned to a specific Team.
There is an open suggestion to add an endpoint to get the Team(s) for a user, and you may watch / vote for it to see progress: https://jira.atlassian.com/browse/JRACLOUD-83728
A messy workaround would be to duplicate the assignment lists (i.e., users and teams) in a rule, such as in Lookup Tables or Created Variables. But, that would be a brittle solution and quickly get out of synch with your assignments of people to Teams.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.