JIRA Gadget is Rendering as Blank on a Confluence Page
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
問題
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:
原因
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.
回避策
- 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