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

Insight Cloud Automation - Monitor Object's Attribute changes

Horacio Escalada August 26, 2021

I would like to send a notification when an Attribute change value.

What I have done is When and Object is updated, using Lookup Objects action to filter recently updated objects and then looping through the results create the notification listing Name and Status attributes

I don't know how to identify what attribute was changed.

The ideal situation will be to get access to the object change log and compare OLD VALUE with NEW VALUE 



1 answer

0 votes
Hakan Bahadir October 20, 2021

Hello,

 

The Object Trigger has the value of the Object key when the rule is executed.

For example the smart value:

{{object}}

will give you the Object Key value. Which means, instead of the LookupObjects action you could use a "Send web request" for calling the Insight Rest API and get the history of the Object then compare the attribute's values which you are interested in. You may find the history request details here:

https://developer.atlassian.com/cloud/insight/rest/api-group-object/#api-object-id-history-get 

 

I hope this helps.

Cheers

Hakan Bahadir

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events