I have a JIRA plugin located at the system.top.navigation.bar with some web-items as dropdowns. The two web-items point to servlets.
In the servlets, I have a check in place, if true- execute business logic, else print a notification “You don’t have permission.”
What I want to do is have a popup, either a pop-up in some JS(?) or a new small window with results of clicking the button.
I’ve looked into the AUI, but I don’t really understand it.
Also, I tried importing the Template Renderer and referencing a .vm file that could execute some HTML. But when I add the dependency:
<dependency> <groupId>com.atlassian.templaterenderer</groupId> <artifactId>atlassian-template-renderer-api</artifactId> <version>3.0.0</version> <scope>provided</scope> </dependency>
IntelliJ Idea 2017 throws an the dependency can’t be found. However, I have the latest dependency from here.
If I was vague or not conveying the message correctly, please let me know I’ll update the post.
Thanks in advance.