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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

113 views 2 0
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