After a Jira upgrade, getting the error "Exception: Uncaught TypeError: Cannot read property" when opening any Jira board

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

In some rare cases, after Jira is upgraded, it becomes impossible to open any Agile Board. When trying to open a board, various variations of the error "Exception: Uncaught TypeError: Cannot read property" are thrown in the UI:

(Auto-migrated image: description temporarily unavailable)
(Auto-migrated image: description temporarily unavailable)

Some examples of these errors are listed below:

1 2 3 4 5 Exception: Uncaught TypeError: Cannot read property 'updateFixedElementPositioning' of undefined Exception: Uncaught TypeError: Cannot read property 'setDetailViewOpenedState' of undefined Exception: Uncaught TypeError: Cannot read property 'init' of undefined

Environment

Issue observed after upgrading to Jira 8.7.x or 8.13.x.

Diagnosis

Run the following SQL query against the Jira Database:

1 select * from pluginstate where pluginenabled = 'false' and pluginkey = 'com.pyxis.greenhopper.jira:gh-rapid-browser-metrics';

If the query returns a row, this means that the Agile module "com.pyxis.greenhopper.jira:gh-rapid-browser-metrics" is disabled in Jira, and this KB applies.

Cause

For boards to be viewable in Jira, the module com.pyxis.greenhopper.jira:gh-rapid-browser-metrics needs to be enabled. If it is disabled, various errors will be thrown in the UI when trying to open any board.

The exact root cause for this module to be disabled is unknown at this moment, as we have not been able to replicate it in a fresh Jira environment. 

Solution

Follow the steps below to re-enable the module com.pyxis.greenhopper.jira:gh-rapid-browser-metrics:

  1. Backup the Jira's data

  2. Schedule a short downtime for the Jira application

  3. Shut down the Jira application (or shutdown all the Jira nodes, if you are using Jira Data Center)

  4. Run the following SQL query in your Jira's database to enable the disabled Jira Software module:

    1 update pluginstate set pluginenabled = 'true' where pluginkey = 'com.pyxis.greenhopper.jira:gh-rapid-browser-metrics';
  5. Start the Jira application (or start all the Jira nodes, if you are using Jira Data Center)

  6. Verify that Agile boards can be accessed without any error.

Updated on March 18, 2025

Still need help?

The Atlassian Community is here for you.