Average time in Status chart stopped working after jira upgrade.

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

This article outlines a scenario in which, after upgrading Jira from version 8.20 to 9.4, Chart Average time in Statusthrow error as "An internal server error occurred when requesting resource". In atlassian-jira.log following error is observed.

1 2 3 4 5 6 7 8 9 2023-10-11 14:21:42,949+0300 http-nio-8080-exec-15 url: /rest/chartplugin/1.0/timeinstatus/config/statuses; user: someuser ERROR someuser 861x745x2 1ty5vxk IP1 /rest/chartplugin/1.0/timeinstatus/config/statuses [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: 'java.util.Collection com.atlassian.jira.config.ConstantsManager.getStatusObjects()' java.lang.NoSuchMethodError: 'java.util.Collection com.atlassian.jira.config.ConstantsManager.getStatusObjects()' at com.atlassian.jira.ext.charting.gadgets.AverageStatusChartResource.getStatusObjectsAsStatuses(AverageStatusCh artResource.java:83) at com.atlassian.jira.ext.charting.gadgets.AverageStatusChartResource.getStatuses(AverageStatusChartResource.jav a:76) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Environment

Jira 9.x

Cause

  • Average time in Status gadget is available with Jira Charting plugin.

  • This plugin has never been compatible with Jira DC. User can still use the app in DC instances, though it may not operate partially or fully. More details here Using non-DC compatible apps in Data Center instance.

Solution

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.