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
Community Members
Community Events
Community Groups

How to append an object to attribute without removing old objects ?


Hello Support Team,

I have two insight objects which are customers and purchases. In customers Object, you can find purchases as an attribute with unlimited cardinality.
What i've been trying to do is when adding a new purchase, that object will be added automatically to one of the Customers object that contains all Purchases objects. I will leave a picture to demonstrate what i'm trying to say.Technicolor.PNG

And i found that insight has already an automation feature. but it was very limited.
I'm trying to write a script and i found documentation but it's emptying the list and only adds the new object.

That's why i want to check How to add a list of objects with groovy or simply append the new object  to the pre-existing list please ? 

Have a nice day


1 answer

I know what you are saying. Manually it is easy but through API its bit complex. I had to write a Workato recipe to automate this process. What I did was I queried the list and saved the list and added item to the list and finally updated the object with that list.

Suggest an answer

Log in or Sign up to answer

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