I would like an event to be fired when a transition is executed.
Here is the whole picture
The transition is still shown as inactive even though it is used by a workflow. The draft has already been published, it is not a draft.
How can I fix this problem and make the transition valid?
A number of versions ago, there was a minor bug in Jira that meant you also have to have triggered the event at least once to get Jira to realise that the event is active. I do not know if that has been fixed, but a good test remains behind it - try triggering the event and then going back to look at its state.