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

Your Points Tracker
Challenges
Leaderboard
  • 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
Recognition
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?
Kudos
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

Appending Insight Attribute of Referenced Object with additional Insight Object

Hi

I'm trying to write a groovy script that updates an insight object's attribute value with a list of referenced objects.

However, I'm unable to update the attribute. Let me ellaborate.

I have a custom field named "Project" and a field named "Contact Person", both are Insight Object custom fields which can only hold 1 value.

The Project object however has an attribute that can store multiple contact persons. When I run the groovy script, it should load the existing attribute values and append that with the Contact Person object retrieved from the custom field.

But I'm unsure how to convert the Insight Object to a an Attribute Value Bean that holds the referenced object info as I assume I need to store a list of attributeValueBeans.

 

If anyone could point me in the right direction, that'd be great.

Thanks in advance!

1 answer

1 accepted

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - April 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

307 views 3 20
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