Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Insight Automation Groovy script to check object created or updated

I'm trying to use Insight automation to trigger a groovy script to update an external database with object attribute values. Need to check if the object in action is created or updated and update the database accordingly. Is there any way to check this with script?

1 answer

1 accepted

1 vote
Answer accepted
Hana Kučerová Community Leader Nov 14, 2020

Hi @harilal_poyil ,

in Insight automation there are "Object created" and "Object updated" triggers. I would recommend you to use them to distinguish, if the object was created or updated, ie not to do it in script, but create two separate scripts specific for each situation.

Yes. Thank you.

Suggest an answer

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

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

710 views 7 23
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