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,554,337
Community Members
 
Community Events
184
Community Groups

Sync user field automatically by Json

I am trying to sync customized user field by automation. However, the Audit log shows error message "Error while parsing additional fields. Not valid JSON."

Following is the scenario, there are two projects Project A and Project B. Project A has a customized field (User Picker (multiple users)). Project B's issues are related to Project A's issue. When Project B's issues changed the assignee then trigger the automation. Project A's customized field will be added the user automatically.

 This is the Json

{
   "update": {
   "customfield_10058":{
   "add":"{{triggerIssue.assignee}}"


     }
   }
}

Please give me your advice
thank you ~

1 answer

1 accepted

0 votes
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 09, 2023

Hello @Duncan 

Your syntax should look like this:

{
"update":{
"<your custom field>":[{
"add":{"id":"{{triggerIssue.assignee.accountid}}"}
}]
}
}

Hi @Trudy Claspill 

It's worked. 

Thank you for your input

Like Trudy Claspill likes this

Suggest an answer

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

Atlassian Community Events