Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Append a value to a custom field of type as an action


I'm trying to update a custom field that allows multiple object values, and I would like to add another object when the summary field is updated.

I'm have not found documentation on how to do this on automation, and when I try the following:

"update": {
"custom_XXX": [{
"add": {"key":"YYYY"}

I get an error that the field is not an array.

I guess it is needed to do some JSON manipulation.

How would be the proper way to achieve it?


1 answer

1 accepted

0 votes
Answer accepted
Sherry Goyal Atlassian Team May 31, 2021

Hello @Miguel Blasco 

Documentation is present here.

I would suggest to make some GET API calls to validate structure of object, allowed values and possible operations. Look for more details here.

Hope this helps to debug your case here.


Thanks, the field supports the following operations:


and when i try to perform the following action:


   "update": {
      "XXX": [{
         "add": "YYY"


I got the following error: 

Error editing issuesCLM-636 (data was not an array (customfield_19430))

What am i doing wrong?


Sherry Goyal Atlassian Team Jun 02, 2021


Your schema type is "any" not "array", hence you are facing this issue. Might wanna try re-creating custom field of type array and this shall work then.



Thanks for the input. But would it be possible to do something else on the update action?

This is a heavily used field and changing the type might be not possible at this point.

Thanks and best regards,


For updating Insight fields, might be good to try this:

Let me know how it goes!

yes , this documentation helped.

FYI you can still have add operations despite having a type "any". the issue was how i was adding the value:

"add": "YYY" -> "add": [{"key": "YYYk"}]

maybe for the future it would be useful to have those links on the automation documentation? Or at least made more explicit?

(It might be the first 2 were visible, but not the latter).

Thanks and best regards,


Sherry Goyal Atlassian Team Jun 03, 2021

Glad to hear that. Thanks for the update. This work in is progress to put together these docs but yes I will update our technical writer with your feedback. 



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

75 views 1 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you