It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to include an iframe in a Confluence page?

Hi, 

I want to add an iFrame link from JIRA Portfolio into a Confluence page.

 

<iframe src='https://jira.srv.<company_name.com>/secure/PortfolioSharedReportView.jspa?r=lydy9&t&e' width='640' height='400' style='border : 1px solid #ccc;'></iframe> 

I do not have the iFrame macro in my Confluence. I used HTML macro within which I pasted the iFrame link. But all that I see is an empty white box in preview and after saving. 

Is there a way to add this link to Confluence page?

TIA,

Bhakti

1 answer

2 votes

Hello,

There is a security header added to protect against clickjacking, that prevents Jira or Confluence pages from being displayed in an iframe inside HTML macro. You can disable clickjacking protection by following Confluence page does not display in an iframe KB, but we do not recommend it for security reasons. 

Alternatively, you can use some third-party plug-ins instead of HTML Macro without compromising security, like this one 

See How to put an iFrame into Confluence for more details.

Regards,

Igor

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

253 views 0 12
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