Automation - 'Teams' field won't update on issue changes

Tom
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 11, 2024

I have a simple automation that updates an issue based on certain criteria. This automation runs and is successful in the audit logs. All fields update except one, which is the Teams field.

I found this previous answer, but it doesn't help when using the "Additional fields" JSON, as it throws an error when adding a UUID. The integer for the team doesn't seem to be available anymore.

https://community.atlassian.com/t5/Jira-questions/Automation-Not-able-to-update-Teams-field-for-issues/qaq-p/1824349

Any help would be greatly appreciated.

1 answer

1 accepted

3 votes
Answer accepted
Harrison Ponce
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2024

Hi @Tom , this one was a doozy for us to set up, too. What we ended up doing was adding the following JSON to the additional fields (our values removed):

{
"fields": {
"customfield_#####": "########-####-####-####-############"
}
}

We used the Jira API to find the customfield id for Teams (this can also usually be found in the source code, for example using Inspect on Chrome) and then the team id which is just at the end of the URL when viewing the Team page.

Did you try something like this or were you using the Team name as the value? Any automation rule setup or error screenshots you're seeing would be helpful to see!

Tom
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 11, 2024

Thanks so much @Harrison Ponce That worked!

Like Harrison Ponce likes this
Harrison Ponce
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2024

The Office gif. The office is filled with disco lights. Craig Robinson as Darryl, Oscar Nunez as Oscar, and Brian Baumgartner as Kevin show us some serious dance moves.

Suggest an answer

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

Atlassian Community Events