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

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

    

要約

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:

Some examples of these errors are listed below:

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

環境

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

診断

Run the following SQL query against the Jira Database:

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.

原因

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. 

ソリューション

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:

    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


最終更新日 2021 年 8 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.