Is there a way to trigger an Insight automation rule based on a *change* in an attribute's value?
I currently have a rule whose trigger is Object Updated and whose condition is "Status"="Disposed." The rule sends an e-mail to Procurement letting them know that an asset has just been disposed.
The problem is that any update to a disposed asset is resulting in the e-mail being sent, whereas I only want it sent when the asset transitions from a non-disposed status to disposed.
Is there any way to make this work? E.g. by only firing if the Status attribute is the one that's been updated? Or by using the IF condition to filter on both the new and updated Status values (i.e., something like "Status" = "Disposed" and original."Status" != "Disposed")? Or by executing a groovy script that can determine what the old value was before it was changed?
I'm on 5.3.11.
This is a feature that we will implement in the future and there is a open feature request for it here https://jira.riada.se/browse/ICS-198
To achieve it today you will have to trigger a groovy script that checks the history of the object and compares with the current value based on the condition you want and then send the email.
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 ...
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