How can I view JIRA reports in iFrame

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 vote

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

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

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

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

182 views 0 4
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