It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to display content in a dialog from a web-item in Jira 4?

I am developing a jira 4 plugin which is meant to open a dialog when you click on a web-item link that is located at the top navigation bar of an issue. It should be the same behaviour which occurs when you log work on an issue.

Placing a new web-item in the top navigation bar was no problem at all, but the linked web-work-action opens on a new page but should instead rather be shown in simple dialog.

Refering to this guide ( which unfortunately is for Jira 5, you can add <styleClass>trigger-dialog</styleClass> to a web-item which works perfectly in Jira 5 but obviously not in Jira 4. But the behaviour described in this tutorial is exactly what I want to achieve in Jira 4.

I've also tried to add <param name="isPopupLink" value="true"/> to the web-item, as I saw this in some documentations, but it has no effect at all, which has been discussed elsewhere without any solutions to it.

Apparently there has to be a solution because the log work action as mentioned above opens in a dialog too, but it seems there was some kind of javascript hacking to achieve this. Could anyone give me a little example of what I have to do to make a web-item open a dialog in which I can render the velocity file of a web-work-action like in the Jira 5 tutorial posted above?

4 answers

1 accepted

0 votes
Answer accepted

I have added a web item to a web section (web section was added to opsbar-operations) and added this to the web item definition in the plugin xml:


Now when I click it opens in a dialog.

This is a little bith of a hack because JIRA uses the style class as a reference on how to open the link.. But it works and isn't so dirty.

I am also trying to display a dialog in JIRA 4, but the guide/tutorial is not working for me.

I am also trying to display a dialog in JIRA 4.4, but the guide/tutorial is not working for me.

That tutorial applies to JIRA 5.0. So guys, it seems we don't have any options but giving up.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Off-topic

Friday Fun: Virtual dance party!

Do dance parties help you relieve stress? How about *virtual dance parties*? My team holds virtual dance parties to brighten the mood of a tough day or celebrate an upcoming weekend.  Want t...

71 views 7 4
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you