Using the new Team Field in automation condition

Erik Reiter
Contributor
January 4, 2024

Hi, 

we use automations to "route" Tickets from our JSM project to our JS project.

Currently we use a custom field called "Service Team" which gets set in JSM and an automation that can be triggert by our it operations team to route to the corresponding project in Jira Software.

 

I tried to change the automation, so that it uses the new Jira Teams field, instead of the custom field.

I am unable to find the field in the issue fields condition.

 

Any idea how to access the field in jira automation? I cant seem to find anything in jira smart value documentation.

1 answer

1 accepted

4 votes
Answer accepted
Rebekka Heilmann _viadee_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 4, 2024

You can access the team field like so: {{issue.team}}

by issue.team.title you will get the name in clear text

Erik Reiter
Contributor
January 4, 2024

Thanks! 

I also found out you can use the UUID from 

//atlassiandomain/jira/people/team/<ID> and put it into a JQL Condition.

 

Smart Value is a bit easier to read, tho.

Rebekka Heilmann _viadee_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 4, 2024

You'll also get the id with {{issue.team.id}} 

Like Erik Reiter likes this
Dan Howard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 14, 2024

I think I have the same problem - I am unable to locate the Team field in the automation tool as I need to have this set via JQL search - but I am unable to create the advanced script.

I can see that the actual Teams value for Team A would appear to be the value within the URL but its the missing team field itself that the following does not work for.. so I am a but stuck here.

{
"fields": {
"TEAM": "c454534e04e-34558-425581-9ca5b-555d5555540133335",
}
}

 

Not sure what string to use to represent the Teams value from the the overall JIRA cloud set-up? 

JIRA_TEAMS.png

 

peter.auslaender@otis.com
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2024

Hi Dan

Have tried also using "Team":"team id" found this not working.
Then tried
{"fields":
{"customfield_10001":"ee868bdf-7948-4e29-9d95-3cd56acf2976"
}
}

which works as expected :-)

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events