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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.