Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the value in Team field in Jira Automation

Dejan Velevski June 26, 2025

Hi, 

I'm trying to put a name into the Team field. We are using Data Center v.9.13 and in the Jira Software Project the Team field is not in use. But I use it in my Plans (Advance Roadmap) where I have established a Team.
I want to automate, when a story is created (or pulled into the "In Work") automatically to add the team name, which I whant to use into my Plans project. So this Team Field is irrelevant for the Jira Software procjet, and I want to use it only in Plans.

I have tried the following:
{
"fields": {
"customfield_10201": "{{issue.team}}"
}
}
where "customfield_10201" I found it through the rest api. Also the Id is. 135:

  • customfield_10201:{
    • id: 135,
    • name: "Example Team"
    }

But as a result in Plans I don't receive anything. I also created a Log Action: Team: {{issue.Team}}, and Team: {{issue.customfield_10201}}, but nothing is comming here.

If I put in the action:
{
"fields": {
"Team": "{{issue.team}}"
}
},
then I get this error:
"Additional fields contains invalid field(s) in 'update' or 'fields' section: Team"

Any tipps?

2 answers

0 votes
Dilip
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 26, 2025

Hi @Dejan Velevski 

try below

{
    "fields": {
        "customfield_10304": "{{issue.Team.id}}"
    }
}

0 votes
Tomislav Tobijas
Community Champion
June 26, 2025

Hi @Dejan Velevski ,

We have this automation on cloud but it might be that same thing applies to DC (although I'm not sure about team IDs). Anyway, we're using advanced fields section within Edit work item fields action and the following JSON:

{
"fields": {
"customfield_10001":"123456-abcd-9876-efgh-5b021607a4b2"
}
}

where we basically navigate to the team profile and check the browser address bar to find the ID of a team. Again, I haven't properly checked the ways to get Team ID on DC. 🤔

Also, on the cloud, the Team field always has ID 10001.

I don't have an on-prem environment, so I couldn't test this out, but hopefully this might help (guide you in some direction) 👀

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer