User story: As a Jira user, I want the ability to set up an automation rule that changes the Team field value when the assignee changes, so that I may save time.
If assignee = X, Team = Y
Context: I have users divided into different Teams and if the assignee of an issue changes, I want Jira to automatically change the Team field as well. For example, Sally is on Team A and if she is the issue's assignee, the Team field value should be Team A. I looked at the Automation options and don't see a way to do this, does anyone know how to do this?
Hi @Maria Jose Villota -- Welcome to the Atlassian Community!
Is this for a "team" in advanced roadmaps, or something else?
At this time, there is no REST API function to get the team for a specific user for advanced roadmap. Here is the suggestion to add that: https://jira.atlassian.com/browse/JSWCLOUD-20360
And so I believe the rule you describe could only be implemented if you hard-coded all of the user and team relationships in the rule. With only a few dozen users that might not be possible in a rule. Using a lookup table, up to 300 users could be handled. Regardless, this would be a difficult rule to maintain.
Kind regards,
Bill
Welcome to the community. You can setup automation rule using Automation for Jira in your env where when the Team field changes value then update the assignee of the issue.
The triggering event will be "Field value changed", then add in your condition criteria, and finally performs the edit issue action automatically.
Here are the references on Automation for JIra -
https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/ (Cloud env)
https://confluence.atlassian.com/automation (Data Center on-prems env)
https://www.atlassian.com/software/jira/automation-template-library#/rule-list?systemLabelId=all&page=1&pageSize=20&sortKey=name&sortOrder=ASC (sample templates of automation rules)
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Joseph Chung Yin Thanks for the warm welcome and for your response!
The automation I'm trying to implement is "when the Assignee value changes, then update the Team field". Not the other way around. It seems like "Team" is not a supported field under Automation so I guess there's no solution to this use case just yet.
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.