Workload Pie Chart Showing Unreadable Characters

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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

Summary

Problem

After upgrading JIRA, when viewing the dashboard with a pie chart gadget as wall chart, it shows an unreadable characters.

1 2 3 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
(Auto-migrated image: description temporarily unavailable)

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.

Solution

Resolution

  1. Install standard font pack (as the instance is hosted on a CentOS 7 server, this was achieved with "yum install urw-fonts")

  2. Stop Jira

  3. Clear the plugin cache

  4. Start Jira

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.