Dear Support
After upgrade to Jira Software 7.6.1 i found out, that i can't embedd Jira sites on our Confluence page anymore via iframe. I found out that this is a new security feature (JRASERVER-25143). In this articel it's described, that one can disable this protection by setting the com.atlassian.jira.clickjacking.protection.disabled
system property to true
.
There's also a site which should describe how to do the Setting properties and options. But this site describes how you set Java Options for the service. When i inserted the property "com.atlassian.jira.clickjacking.protection.disabled=true" in the Java Options the service won't start anymore. So it has to be done somehow differently. Hope you can help!
Kind regards
Ueli
I also tried the following options, but none worked:
So, this is still unresolved...
Hi Aurelian,
Those look like the arguments for JIRA. You need to configure this on the Confluence side. See Confluence page does not display in an iframe for the correct arguments for Confluence.
Additionally, take a look at the very last comment in the post titled How to remove or modify Confluence X-Frame-Options response header for another suggestion.
Cheers,
Branden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Branden.
My use-case is a little different: I actually need to embed my own JIRA in a normal webpage :).
(No Confluence envolved)
Cheers,
Aurelian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aurelian
To make work what you want you have to set the propertiy
"-Dcom.atlassian.jira.clickjacking.protection.disabled=true" to your JIRA Installation. This worked for me.
Cheers, Uli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much, Ueli.
Indeed, the correct solution was to edit setenv.sh as follows:
JVM_SUPPORT_RECOMMENDED_ARGS="-Dcom.atlassian.jira.clickjacking.protection.disabled=true"
The Attlassian Team should also update the Setting properties and options page accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ueli,
I get the same behavior in JIRA, however, according to Confluence page does not display in an iframe the changes are supposed to be done on the Confluence side:
Resolution 1
Disable clickjacking protection from Confluence
Shut down Confluence
If you're running Linux:
In<confluence_install>/bin/setenv.sh
add the line:CATALINA_OPTS="-Dconfluence.clickjacking.protection.disable=true ${CATALINA_OPTS}"
- If you're running Windows from the
.bat
file:
In
<confluence_install>/bin/setenv.bat
add the line:set CATALINA_OPTS=-Dconfluence.clickjacking.protection.disable=true %CATALINA_OPTS%
- If you're running Windows as a service:
If you're starting Confluence as a service, then you'll need to add the following startup options to the Java tab in the service properties:
-Dconfluence.clickjacking.protection.disable=true
- Restart Confluence
See Configuring System Properties for more on setting System Properties.
The Page will now appear in the
iframe
.Resolution 2
If the resolution 1 does not work then there is a possibility that in CONFLUENCE_INSTALL/conf/web.xml you have enabled HTTP Header Security Filter in Tomcat.
Shut down Confluence
Open CONFLUENCE_INSTALL/conf/web.xml and find antiClickJackingOption
Uncomment the parameter and change the value from DENY to SAMEORIGIN
Restart Confluence
Please see Apache Tomcat 8 Configuration Reference: HTTP Header Security Filter for more information on the parameters
Try the steps above and let me know the results.
Cheers,
Branden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.