Workload Pie Chart Showing Unreadable Characters
Problem
After upgrading JIRA, when viewing the dashboard with a pie chart gadget as wall chart, it shows an unreadable characters.
2017-10-29 06:28:59,686 http-nio-8080-exec-19 WARN anonymous 123x456x7 88abcd 123.456.78.90,123.45.67.890 /secure/Dashboard.jspa [c.a.g.embedded.internal.GadgetUrlBuilder] GadgetUrlBuilder: could not parse spec at rest/gadgets/1.0/g/com.atlassian.jira.ext.charting:workloadpie-gadget/com/atlassian/jira/ext/charting/gadget/workloadpie-gadget.xml
2017-10-29 06:28:59,686 http-nio-8080-exec-19 WARN anonymous 123x456x7 8888abcd 123.456.78.90,123.45.67.890 /secure/Dashboard.jspa [c.a.g.renderer.internal.GadgetSpecFactoryImpl] Error occurred while retrieving gadget spec for rest/gadgets/1.0/g/com.atlassian.jira.ext.charting:workloadpie-gadget/com/atlassian/jira/ext/charting/gadget/workloadpie-gadget.xml
2017-10-29 06:28:59,686 http-nio-8080-exec-19 WARN anonymous 123x456x7 8888abcd 123.456.78.90,123.45.67.890 /secure/Dashboard.jspa [c.a.g.renderer.internal.GadgetSpecFactoryImpl] Error occurred while retrieving gadget spec for rest/gadgets/1.0/g/com.atlassian.jira.ext.charting:workloadpie-gadget/com/atlassian/jira/ext/charting/gadget/workloadpie-gadget.xml
Diagnosis
Environment
- CentOS 7 server
- JIRA 7.3.x
Diagnostic Steps
- Piecharts appear as expected when being viewed on a standard dashboard. However, if the "piechart-dashboard-item" module of the "Atlassian JIRA - Plugins - Gadgets Plugin" is disabled, dashboard piecharts appear in the same format as the wallboard dashboards.
Cause
The problem happens due to font issue.
Resolution
- Install standard font pack (as the instance is hosted on a CentOS 7 server, this was achieved with "yum install urw-fonts")
- Stop Jira
- Clear the plugin cache
- Start Jira
Last modified on Nov 9, 2017
Powered by Confluence and Scroll Viewport.