How to render a web action template result HTML as a popup window?

Is it possible to have my action's view velodity template be rendered as a new popup window just as the attach screenshot action does? I see there is a decoration thing "atl.popup" and some views are configured to be decorated if their pattern matches /secure/popup/* but I could not apply this to my views.

1 answer

1 accepted

Accepted Answer
0 votes

OK, but even if I use it through the JavaScript API (new AJS.Dialog()) this script is run after the browser navigates to a new page so I will find myself on a blank page with a popup URL. I'd rather need a <a href=".." target="_blank"> functionality! On the web-item docs (https://developer.atlassian.com/display/JIRADEV/Web+Item+Plugin+Module) I see an example:

<param name="isPopupLink">true</param>
But this doesn't do anything I think.

Ah, I understand now. You want a popup when you click on a web-item link? isPopupLink I guess is the property to make it work but I have seen people complaining that it doesn't work. There were some worarounds in the forums before. Maybe you can search and find it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,386 views 2 7
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you