autopopulate attributes in Insight object based on another object's attributes

I am building an asset management process, and that includes mobile device management as well as their lines and phone numbers. I made phone numbers as a separate object because phones and phone numbers will rotate around in an organization, and i wanted to be able to associate/disassociate them at any time. I was wondering if there was a way to autopopulate the "IMEI_history" in the "Number" object every time that the "Phone" object is updated with a number. for example, the "12345-serial" Phone object references the "5152841111" Number object, but I was the 515284111 IMEI_History field to have a record that the "12345-serial" Phone object once held the phone number. number_object.PNGphone_object.PNG

Am I approaching this wrong? can anyone point out a better way? I made the Number as a separate object for direct association to a single object, but I also want to have a record of what phone object has had that number before. I thought groovy scripts could help me accomplish that but that's more advanced than my current knowledge allows. Thanks

1 answer

Hi Ernesto.


Using groovy script in Automation, this would be possible, i.e updating the Number Object that has been set on the Phone object. I can't give you a script for it, but I can guide you to our documentation where we have examples of groovy scripts, and where our open API is documented.

It's also worth mentioning that you can visit where you can get in contact with one of our partners, that could help you with creating groovy scripts, and configuring both Insight and JIRA.

For more information about groovy scripts and automation, take a look at 

Best Regards

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

445 views 8 26
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you