I have a web-item to display an additional menu item in the JIRA menu bar, with a link to an external URL. Because I want to display the external URL in a dialog, I am using the style class "trigger-dialog".
If now the item is clicked, I get a "communication breakdown" dialog.
Without "trigger-dialog", it works.
I followed this tutorial
https://developer.atlassian.com/display/JIRADEV/Displaying+Content+in+a+Dialog+in+JIRA
but, same
Anyone knows what I am doing wrong?
Community moderators have prevented the ability to post new answers.
It looks like the correct context was missing.
Hi,
I having the same issue. Could please let me know, what exact change made it working. If I use style class "trigger- dialog" gets the communication error and without trigger-dialog , it works directing the link in new tab. What I am missing? FYI we are using jira 7.9 and script runner
Below is my code
<web-item key='1' name='ScriptRunner generated web item - My Key' section='operations-top-level' weight='70'>
<label>My Dialog</label>
<styleClass></styleClass>
<link linkId='My Key'>http://atlassian.com</link>
</web-item>
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately I didn't manage it to load the external page in the dialog.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Meanwhile I tried the dialog of this tutorial
https://developer.atlassian.com/display/JIRADEV/Displaying+Content+in+a+Dialog+in+JIRA
Now I get an empty dialog. :-(
The only thing I do is to specificy a style class and bind javascript to it. The javascript should open a dialog and showing an external html website.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.