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

Issue with opening JIRA login page in iFrame

Anurag Mundra Dec 13, 2017

Hi All,

I am trying to access JIRA login page inside an iFrame. I am rendering this iFrame inside a bootstrap modal pop-up. The pop-up will be triggered when clicked on one of the responses from AWS Lex.
I am able to access the JIRA homepage specific to my company. But while trying to login, I am getting blank page. When checked in console in developer tools, I am getting below error:

Error:
Refused to display 'https://id.atlassian.com/login?continue=https%3A%2F%2Fcompanyname.atlassian.net%2Flogin%3FredirectCount%3D1%26dest-url%3D%252Fsecure%252FDashboard.jspa' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

I already tried hosting on AWS EC2, but it didn't work.

Quick help/insights will be highly appreciated.

1 answer

0 votes
Nic Brough [Adaptavist] Community Leader Dec 14, 2017

Jira (and the other Atlassian tools) are not designed or built to be used in iFrames.  You will find that the basics can work (anonymous read), but as soon as you try to do anything interactive, all sorts of interesting failures occur.

A lot of their javascript and internal templates would need to be re-written to enable iframe support, and Atlassian have no intention of doing this, as there's no perceived value in it.

I'm afraid the answer to this question is "forget the iframe, link to Jira and open it in a new window"

Anurag Mundra Dec 14, 2017

Thanks Nic for a quick reply. By any chance, can we capture the close event of new window? Basically, we want to bring the control back to AWS Lex bot once person closes the pop-up/new window. 

Nic Brough [Adaptavist] Community Leader Dec 15, 2017

I don't know of a way to do that.

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 in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

998 views 0 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you