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

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

Atlassian Community Events