Set a Team based on Assignment Group

With the integration with ServiceNow, there may be multiple Assignment Groups syncing Requests with the same project. To assign a Team to a ServiceNow request, set up the following automation

Trigger: Issue Created

Condition: JQL Condition

Issuetype = "ServiceNow Request" and "Assignment Group" = "your assignment group"

Action: Edit Issue

More Options->Additional fields

{
"fields": {
"Team": "XXXXXXX"
}
}

You can find the Team number using the issue navigator and searching for your Team.

"Team[Team]" = “Team Name”

The Team Name will change to the number as soon as you select the team name from the drop down.

Turn on rule