How can I view JIRA reports in iFrame

Sumit Ahuja January 12, 2018

I am trying to create a dashboard which pulls data from different sources (Build, Source control, JIRA information etc.)

I would like to embed a few dynamic reports from JIRA directly and tried embedding link to JIRA reports (such as burndown charts) using iFrames.

I get to login in JIRA in the iFrame but the gadgets/reports either don't display correctly or don't display at all.

(The javascripts don't load;  Also as per a few conversations on the forum, it seems iFraming is not possible)

How can this be done ? Any pointers would be appreciated.

I hope someone would have such a use case to embed dymanic JIRA reports in an external webpage, without pull one by one piece of data via JIRA APIs (as that would be too much effort considering the effort vs benefit trade-off)

Iframing not possible bug :
https://jira.atlassian.com/browse/JRA-20988

Related Questions:
https://community.atlassian.com/t5/Jira-questions/JIRA-inside-an-iFrame/qaq-p/297929
https://community.atlassian.com/t5/Jira-questions/How-do-I-embed-an-Agile-Board-on-an-external-page/qaq-p/441441

 

Many Thanks

Sumit

2 answers

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 13, 2018

Oops, I just realized you need this in the opposite direction. Please ignore this answer as I cannot delete it.

Universal Gadget is a supported app for Jira that should make it easier to develop custom gadgets that rely on executing JS and displaying some "result". It may not be what you look, if you need just some "embed in an IFRAME" sort of functionality, but if you can re-implement the thing in Javascript executed in the Jira-side, then it may even be a better option than your original idea.

Check out: https://marketplace.atlassian.com/plugins/com.jiraworkcalendar.ujg/server/overview

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 12, 2018

Hi Sumit,

The bugs I've seen, including the one you linked state it won't be fixed, however, EazyBI states this can be done with their add-on so this may be possible with a third party add-on.

Cheers,

Branden

Sumit Ahuja January 16, 2018

Hi Branden

Thanks for the response.

Unfortunately, even the EasyBI dashboard fails to show up in an external page when iFramed.

Error Message: Refused to display MyEasyBIDashboardURL in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

I will try to check with EasyBI as they do suggest iFraming is possible.

Regards

Zane eazyBI Support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2018

Hi Sumit,

You may embed eazyBI reports and dashboards in web-pages using iFrame.

Starting from Jira version 7.6 you may need to disable Content-Security-Policy to make eazyBI iFrame work as expected due to security headers in Jira.

 

Best,
Zane Baranovska / eazyBI@support.com

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events