Sometimes Structure Gadget fails to load correctly in Confluence. You might see missing icons or the application can fail to work.
This may happen because of a known JIRA issue that prevents Structure gadget from loading resources from JIRA when it's being served in Confluence on another web domain.
To work around that problem, you can set up CORS filter in the Tomcat server that runs JIRA:
- Copy cors-filter-2.4.jar, java-property-utils-1.9.1.jar from CORS docs to the /lib directory under JIRA's installation folder.
Edit file JIRA_INSTALL_DIR/atlassian-jira/WEB-INF/web.xml and add the following:
- Restart JIRA