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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to set permission of 'allow-popups' ?

Edited

 

When I want to open a new window, I get an error:the request was made in a sandboxed frame whose 'allow-popups' permission is not set.

How should I configure it?1.png2.png

1 answer

1 accepted

0 votes
Answer accepted
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 27, 2021

You can now add "allow-popups-to-escape-sandbox" to the frame "attribute".

How do I do it? Are there any relevant documents or screenshots of the operation? I really need this.

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 28, 2021

@Mockplus Is this part of Jira Core or is it an App that you have added on?  If it is part of Jira Core you would have to submit a feature request to have them change their code.  If it is an app then you will need to submit a request to the app developer to make the change.

@Brant Schroeder , hello,

I followed the documentation here: https://developer.atlassian.com/platform/forge/build-a-hello-world-app-in-jira/

Ultimately, I want to publish my app to jira like these:

 

3.png

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 29, 2021

@Mockplus So you are creating an app, then you will just need to add the "allow-popups-to-escape-sandbox" to the frame "attribute" as stated previously in your code.  

<iframe src="iframe.html" sandbox="allow-popups allow-popups-to-escape-sandbox"></iframe>

Thank you very much.

I'm having the same problem
@Brant Schroeder I can't see where the iframe is to set the permission
I created the app using https://developer.atlassian.com/platform/forge/build-a-custom-ui-app-in-jira/ 

Like # people like this

I am also having the same issue in forge. The above mentioned answer will work for atlassian-connect apps not for forge apps.

How to use it in forge apps?

Like # people like this

Any update on this? I also would like to allow users to visit links normally, right they are within the iframe which makes no sense.

Please set the `allow-popups` attribute to JIRA gadgets in the cloud version.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events