UserMessageUtil does not display messages correctly. Sometimes the flag is displayed on transition but not always.
- Create a custom scripted post-function with the following inline script on transition In Progress -> In Progress (transition doesn't really matter):
- Message may be displayed.
- Transition again, message is not displayed.
It seems that the context that is passed from the JIRA.Events.NEW_CONTENT_ADDED event is null when the message is not displayed and we simply return in this case.