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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,277 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot