Forums

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

Using JIRA Automation to Populate the Team Field on a JIRA Work Item

Scott Derderian
Contributor
November 12, 2025

We are looking to automate team field population based on a custom field (group picker) value.   We will eventually be retiring the custom field, but we need to sync the two values until integrated systems have the chance to make their changes.

Here is the use case:

  1. We currently use a custom group picker field called Primary Team to designate the team working on the JIRA work item.
  2. We are transitioning to using Atlassian's Team functionality.   As an interim step, we need to update the Atlassian Team in the work item whenever there is a change to the Primary Team field.

We were able to update the Primary Team with the change in Atlassian Team is updated via Automation, but not vice versa.

Any suggestions here?   TIA!!!!!

1 answer

2 votes
Bill Sheboy
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.
November 12, 2025

Hi @Scott Derderian 

I believe an advanced edit with JSON is needed to set the Team field in a rule.  Have you tried that yet?

 

Kind regards,
Bill

Scott Derderian
Contributor
November 12, 2025

I have not.  Thanks for the tip.   Can I trouble you for a link to some documentation to get me started?

Like Bill Sheboy likes this
Bill Sheboy
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.
November 12, 2025

My bad; I should have put that in there with the first post!

Here is the full doc for JSON edits in rules: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/

And, you likely will need the custom field ID for your Team field, which you can find using this how-to: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Finally, that will look like this in the rule:

{
"fields": {
"customfield_12345": {
"id": "789abc123"
}
}
}

Where customfield_12345 is the ID for your field and 789abc123 is the ID of the team you want to use.  If copying from the other field, use that field's value in place of 789abc123.

 

Like # people like this
Scott Derderian
Contributor
November 12, 2025

@Bill Sheboy thanks again for the prompt response!!!!!

 

Like Bill Sheboy likes this
Scott Derderian
Contributor
November 13, 2025

Hi @Bill Sheboy I tried using the advanced edit to populate a Managed Team based on the value of the group picker field.   Thus far I have not been successful.

I'm suspecting that the only thing I could find to pass is the group name, and Managed Team names are not unique.

Thoughts?  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events