Dashboard gadgets fail to load in Jira server
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
症状
A dashboard is not able to load a gadget.
atlassian-jira.log
に次のメッセージが表示される。
2013-08-21 12:42:37,398 http-bio-80-exec-12903 WARN xxxxxx 762x311586x3 66n18c 192.168.213.19 /secure/Dashboard.jspa [gadgets.renderer.internal.GadgetSpecFactoryImpl] Error occurred while retrieving gadget spec for rest/gadgets/1.0/g/com.atlassian.jira.gadgets:text-gadget/gadgets/text-gadget.xml
[gadgets.embedded.internal.GadgetUrlBuilder] GadgetUrlBuilder: could not parse spec at rest/gadgets/1.0/g/com.atlassian.jira.gadgets:text-gadget/gadgets/text-gadget.xml
診断
The exception does not indicate an application URL which means that the issue is coming from the Jira URL itself. If a URL is present, you can refer to another KB "Error occurred while retrieving gadget spec" WARN messages referring to an invalid application URL appear in the logs when accessing Jira Dashboard.
原因
The Atlassian Jira - Plugins - Gadgets Plugin is disabled.
ソリューション
- Go to Jira Administration > Add-ons > Manage Add-ons > Change search option to System > Search for Atlassian Jira - Plugins - Gadgets Plugin
- Click on the plugin. A list of modules will show up.
- Enable the Text (text-gadget) module in the Gadgets Plugin - OR - related plugin which is missing