Forums

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

Automation - adding multiple users to a mutliuser custom field

Gloria Jazdan June 9, 2025

Hi everyone,
I’m working on a Jira automation rule that updates a custom multi-user field called Assessors. The field is based on selected values from another field called Affected Services/ Applications.

Here’s what I’m trying to achieve:

  • If certain services are selected, I want to add a specific user to the Assessors list.

  • I want to append the user to the existing list — not overwrite it.

This is what I currently have. However, instead of saving what the first branching has done, it replaces the actions done in the first branch. I want it to carry the actions of the first branch to the second, and the third etc..

Screenshot 2025-06-10 142455.pngScreenshot 2025-06-10 142420.png

An example of what I want to achieve:

The assessors field already has the user AB (Based on the form submitted by the reporter)
The "Affected Services/ Applications" question has "Windows" and "Azure" selected
So I want the rule to add the users CS, and WS to the assessors field.

And finally, the assessors are AB, CS (because Windows is selected) and WS (And Azure is selected)

Any help is appreciated!! :) Thank You

3 answers

2 accepted

5 votes
Answer accepted
Piyush Annadate _ACE Pune_
Community Champion
June 9, 2025

Hello @Gloria Jazdan 
Welcome to the Community!

As when you need to update the field then you can use 'Additional Field' option
Replace customfield ID with your field id, and respective field or user account ID


{  "update": {  "customfield_12346": [{  "add": {"id":"{{reporter.accountId}}"}  }]  } }
Piyush Annadate _ACE Pune_
Community Champion
June 9, 2025

 

{
"update": {
"customfield_12346": [
{
"add": {
"id": "{{reporter.accountId}}"
}
}
]
}
}

 

Screenshot 2025-06-10 at 11.26.20 AM.png

3 votes
Answer accepted
Gloria Jazdan June 9, 2025

Thanks @Piyush Annadate _ACE Pune_  & @arielei 

It actually worked by adding this "Re-fetch work item data" as an action between each branch :)

Thank you for your input 

alan_kehoe June 17, 2025

This would be a good pop-up to remind us when setting up an automation we may need to re-fetch the work item as it needs time to populate the db after the form is created. This one puzzled me for a time.

1 vote
arielei
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.
June 9, 2025

Hey @Gloria Jazdan 

Prior to editing the multi field with the values, create a VAR and set the value of it to the current value in the field.

Then, when you edit the field, add the new and current users.

Suggest an answer

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

Atlassian Community Events