We are using ScriptRunner and Exalate on our Jira and JSD instances and we are facing following issue when having a ScriptRunner Listener, which listens on the events âcom.exalate.api.domain.trigger.EXALATEDâ and âcom.exalate.api.domain.triggerUPDATEDâ, we recognized that the function in ScriptRunner event.getChangeLog() returns always null. After investigating the payload we saw, that the ChangeLog for ALL exalate events are null.
The ScriptRunner event.getChangeLog() always returns null, is an expected behavior when Exalate finishes synchronization issues, it means that issues are under synch for the time being. This is a notification that Exalate has finished updates.
Kind regards,
Harold Cruz
Francis Martens (Exalate) commented on 10 March 2022
Chris,
What Harold wants to clarify is that the event âcom.exalate.api.domain.trigger.EXALATEDâ always has an empty changelog.
The statement made is correct.
> After investigating the payload we saw, that the ChangeLog for ALL exalate events are null.
It is not a bug, it is expected.
Chris commented on 11 March 2022
Hi Francis.
thanks for your reply.
In native Jira events we receive with âevent.getChangeLog()â a list of fields, which where changed by this event, including the old and the new value - is it possible to have the same for Exalate events?
If not, is there a âbest practiceâ to achieve a Listener which listens to the event âcom.exalate.api.domain.triggerUPDATEDâ and shall only be executed when a specific field has changed to a specific value?