JIRA Gadget is Rendering as Blank on a Confluence Page
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
Confluence allows the addition of gadgets from external sites, such as the JIRA, to a Confluence page. If the gadget takes a JIRA filter as input such as the Pie Chart Gadget, and sometimes the gadget might render as a blank box without any errors on screen:
Another symptom is during the editing of the gadget itself from the Confluence editor. After selecting a problematic JIRA filter, the configuration screen simply loops back to itself rather than displaying a preview of the rendered gadget output:
Cause
There are multiple causes for this issue.
- One possibility is that the JIRA applink is over HTTP (unencrypted) while Confluence itself is running over HTTPS (SSL encryption), and the browser is preventing the non-secure content from rendering.
- Another possibility is that the HTTP timeout between Confluence and JIRA has been breached. This is likely the case if some filters are working, but others are rendering a blank box.
Workaround
- For cause #1, please see Unable to Add External Gadget Due to Mixed Content.
For cause #2, please extend the HTTP timeouts by adding the following JVM startup parameters:
-Datlassian.http.socket.timeout=15000 -Datlassian.http.connection.timeout=120000