JIRA IssueCollector X-Frame-Origin problem

I am just trying to use a JIRA IssueCollector, the simplest basic configuration.

I done everything and I am testing it on a plain empty html page, integrated with a JS snippet.

The result is, that the slide button is displayed properly, but when I click on it, the popup is empty and in the JS console I can see that it is blocked by SameOrigin setting that is returned by JIRA.

The question is, why it is blocking two files that actually come from the same origin?

In Chrome I can see:

Refused to display 'https://<URL>/jira/rest/collectors/1.0/template/form/64f69fdd?os_authType=none' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

JIRA is behind proxy and is working fine for everything else... Anyone had this problem?

1 answer

1 accepted

This widget could not be displayed.

Ok, I found the issue.

It turned out that the Apache that was proxying requests between the world and JIRA itself, had those lines:

Header set X-Content-Type-Options: "nosniff"
Header set X-XSS-Protection: "1; mode=block"
Header set X-Frame-Options: "sameorigin"

While it is generally good to have them, I had to make an exception rule for the JIRA issue collectors to works.

&lt;Location /jira&gt;
Header unset X-Frame-Options
&lt;/Location&gt;

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

83 views 1 0
Join discussion

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