Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,283
Community Members
 
Community Events
184
Community Groups

How to write an advanced function that can append users in the Multiple Assignees field?

Maham Nadeem
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!
May 04, 2023
  • Automation Rule I want to enable: When the assignee field is changed, the last assignee should be added to the Multiple Assignees field on the issue. 
  • If I try to implement this using smart values, the last assignee replaces any value in the field instead of appending the new value in the field.
  • I have tried to achieve this using advanced functions. The audit log shows SUCCESS but the function does not do anything i.e the Multiple Assignees field is not updated when the Assignee on the ticket is changed. 
  • Multiple Assignees field is a multi-select user field. 
  • 2023-05-04 14 07 29.png

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 04, 2023

Hello @Maham Nadeem 

Welcome to the Atlassian community!

This is the JSON that you need:

{
"update":{
"Multiple assignees":[
{
"add":{
"id":"{{changelog.assignee.from}}"
}
}
]
}
}
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.
May 04, 2023

Hi @Maham Nadeem -- Welcome to the Atlassian Community!

Adding to Trudy's answer, here is the how-to documentation for making a JSON edit like that for multiple-user fields:

https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Multi-user-picker-custom-field

Kind regards,
Bill

Like Trudy Claspill likes this
Maham Nadeem
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!
May 05, 2023

It works! 

The heartiest thank you @Trudy Claspill @Bill Sheboy
Both of you have been the most kind! 

Grateful to be part of this community.

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events