Inserting JIRA chart into Confluence Page results in a ResponseException and chart does not display

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.


An error, ' Can not retrieve jira chart image' displays when: 

  • Inserting a JIRA Chart into a Confluence page
  • Viewing a page with an embedded JIRA chart

The following appears on the Confluence page where the chart was inserted or in the 'Insert JIRA Chart' Preview pane. Can not retrieve jira chart image

One of the following errors appears in the atlassian-jira.log:

/rest/gadget/1.0/createdVsResolved/generate [
c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Error generating chart
java.lang.RuntimeException: Error generating chart
        at com.atlassian.jira.charts.CreatedVsResolvedChart.generateChartInternal(
Caused by: No such file or directory
        at Method)


/rest/gadget/1.0/piechart/generate [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Error generating pie chart
java.lang.RuntimeException: Error generating pie chart
Caused by: Permission denied



  • JIRA Data Center


A required folder, caches, is missing from the JIRA Shared Home directory or has the wrong permissions. 


Create a folder called 'caches' in the JIRA Shared Home directory and make sure that directory can be read and written by other nodes. If the folder already exists, check the permissions to ensure the Jira user has read/write permissions. 

Last modified on Jan 14, 2019

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.