How to show popup dialog/message to user from Java plugin in Jira

I want to write a plugin, which informs the users on the UI, that the new assignee is in vacation.

To achieve this, I implemented an EventListener to listen to assignee events and check a CSV file on the server if the user is in vacation. If so, the plugin should diplay a message/popup to the user, that he is responsible for the assignment of the new user (in vacation) to the issue.


Is there any possibilty to do so or any othter way?


Thank you in advance

1 answer

0 votes
Micky CARITTE Community Champion Dec 01, 2017

Hi Marcel,

You can use multiple UI elements for your purpose. AUI (Atlassian User Interface) is a library offering access to devs to Atlassian native UI objects. You might want to reuse one of those, I'm thinking of the Flag object (top-right corner notification) :

Dialog2 ( is another option if you need more space or interaction!

Please note that some of those components must be dependency injected in your web resources (mentioned on top of the page when applicable).

Hope this helps!


Thank you so far, but how do I call the Flag inside the Jira JAVA Plugin?

Micky CARITTE Community Champion Dec 13, 2017


UI transformations are usually handled in Javascript or through the velocity templates associated with your views. If your plugin is a "servlet only" plugin with no interface, I'm not sure you can leverage UI notifications.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

482 views 1 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you