Forums

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

Updating system field Team using Jira automation

sierra tiktas May 23, 2025

I am trying to use Jira automation to update the system field Team in the cloud. I keep getting various errors and even when I do not get an error it simply does not update the field. 

 

I am first storing the team field as a variable in my epic:

Variable name: team 

Smart Value: {{customfield_12345}}

 

 

Then when I get to the child issue (which is being found fine) I go to edit issue and put this in the advanced section: 

 

 

{
  "fields": {
    "customfield_12345": {
      "id": "{{team}}"
    }
  }
}

 

 

Has anyone been able to do this successfully for cloud, or is it not allowed? I have tried every variation of JSON I can think of. 

1 answer

0 votes
Trudy Claspill
Community Champion
May 23, 2025

Hello @sierra tiktas 

I have successfully used the JSON editing method to set the Team field.

Can you provide a screen image that shows your entire rule? Sometimes problems are related to the context of the steps. We can't discern that without seeing your entire rule.

What is the result of the rule execution? What information is provided in the rule execution Audit Log?

Have you used the Log action in your rule to print into the log the value of the field you referenced, and the value of the variable you created?

What is the source for the value you are putting into your "team" variable? The smart value you specified would not be valid because it does not include the context of an issue to source for the custom field value; i.e. {{issue.customfield_12345}} . It is probable that your variable is not being set to any value, so it would not be setting a value in the issue through the JSON you provided.

 

There is an article on this topic:

https://community.atlassian.com/forums/Jira-articles/Automation-Set-your-Advanced-Roadmaps-Team-automatically-when/ba-p/1761588

Suggest an answer

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

Atlassian Community Events