Run Script on Listener only in transition event

How can I catch a transition with Script Listeners?
In the listeners I just found ‘Issue Created’ and ‘Issue Updated’, I’m guessing that the Event I need is ‘Issue Updated’, but this event can be triggered when the user updates a field, transition, or change the assignee, etc.
My question here is if there’s a way to filter all Update events but ‘Transition’.

Hi @DanAlonso14 , probably you will need to use the changelog object, that is inside the event, as you can see here, you can find in the changelog list by field name, in your case you will need to use the state field.

Thanks, Ivan.