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 (https://developer.atlassian.com/display/JIRADEV/Displaying+Content+in+a+Dialog+in+JIRA) 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.
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.
To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?” That question applies to both implementation and improvements on the Scrum framew...
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!
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