Is it possible to show a message ("You are not allowed to do what you've tried" - like) on the user interface from a custom listener?
Ok, thank you.
I thought of a new custom field especially for a feedback message that can be updated on the server side as a workaround but that is not a pretty solution for my case.
It would be nice to be able to throw a CustomListenerException("my text") which the standard UI handles automatically as a message like it does on workflow validatiors.
Listeners don't have any access to the UI - they're background things that are usually triggered by user activity, but don't have to be.
Also, they happen *after* user activity. So you would never be telling a user "you are not allowed", you would be telling them "it failed".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still, allowing add-ons (sorry, apps) to send messages to users (in the form of the message box Jira displays in the top right corner of any page) would be super useful. This could be done through a REST API.
I have raised https://ecosystem.atlassian.net/browse/ACJIRA-1362 for that.
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.