Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using trigger-dialog causes communication breakdown

Andreas Merkle _AME_ PF-26 March 19, 2014

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?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Andreas Merkle _AME_ PF-26 April 6, 2014

It looks like the correct context was missing.

Deepali Bagul November 8, 2018

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!

Andreas Merkle _AME_ PF-26 November 14, 2018

Unfortunately I didn't manage it to load the external page in the dialog.

Deepali Bagul November 14, 2018

:( . I am  still struggling with it. 

0 votes
Andreas Merkle _AME_ PF-26 March 20, 2014

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.

TAGS
AUG Leaders

Atlassian Community Events