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

0 votes
Accepted answer

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,079 views 4 9
Read article

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