What we get is the user being taken to the REST endpoint and the flag or dialog is not rendered.
This is because in JIRA 7.2+ <styleClass> is being ignored in the resulting html only in particular locations. ScriptRunner looks for this class and renders the dialog and flags based on this which is now broken.
- Add raw xml module like below:
- Add custom web-item to location "aeroplanner-link/drop-down" and select "run code and display a dialog".
- Click on menu item in the aeroplanner dropdown and the dialog is not rendered.