Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to fetch attribute from reference object

Torbjörn Richter May 3, 2019

Hi

I cant get my head around the insight groovy.

What I need help with is a simple code snippet on how to fetch attribute values from references.

1. user select an object (customer) in an insight select list.

2. groovy script fetches the selected customer object (postfunction)

3. through the object find the reference attribute

4. use the reference attribute to find all referenced objects (contact person)

5.  make a loop to take action on all referenced object attribute (in this case email attribute to send an email) 

would very much appreciate help with how to do this.

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, product operations, product ops, linkedin live, atlassian events, cross-functional collaboration, product management, engineering collaboration, design collaboration, atlassian learning, agile teams, product strategy

Product Ops Unpacked: 4️⃣ tips every product pro needs to know ✍️

Join PM Evangelist, Axel Sooriah, & Product Ops. Consultant & Advisor, Jenny Wanger, as they unpack the role of product ops and discuss key takeaways in Atlassian’s ‘The Product Ops Mission’ guide. They’ll answer your questions live on May 6 at 9:00am PT.

Register here ⬇️
AUG Leaders

Atlassian Community Events