Changing the due date of an issue in an Agile board or loading a Kanban report throws Uncaught TypeError error in Jira server
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
The following error is thrown on the Jira UI when trying to change the due date of an issue in an Agile board or loading a Kanban report (most common situation, but some other actions can cause this to be thrown as well) and while browsing Jira with Google Chrome
Exception: Uncaught TypeError: Cannot read property 'length' of null
Resource: http://localhost:8080/s/fc7a364b3887ea11363641fc5fb660e9-CDN/924hpw/807001/3d9cbcc0131deac702c8acb96d367f99/9b67750f861d082569f32f1a2540a56c/_/download/contextbatch/js/gh-rapid-report,jira.project.sidebar,atl.general,jira.global,jira.general,atl.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&jag=true&jaguser=true&locale=fr-FR&whisper-enabled=true
Line: 2451
Column: 29367
Environment
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 Edg/84.0.522.58
Stack trace
TypeError: Cannot read property 'length' of null
at Date.print (http://localhost:8080/s/fc7a364b3887ea11363641fc5fb660e9-CDN/924hpw/807001/3d9cbcc0131deac702c8acb96d367f99/9b67750f861d082569f32f1a2540a56c/_/download/contextbatch/js/gh-rapid-report,jira.project.sidebar,atl.general,jira.global,jira.general,atl.global,com.atlassian.jira.projects.sidebar.init,greenhopper-rapid-non-gadget,-_super/batch.js?agile_global_admin_condition=true&jag=true&jaguser=true&locale=fr-FR&whisper-enabled=true:2451:29367\)原因
This can be caused by an invalid custom date format recently set in either or both Jira Look and Feel and Advanced Settings
ソリューション
To troubleshoot the date settings in Look and Feel choose Administration>System > Look and feel and make sure that the Date Time Format is correct accordingly to Change the Date/Time format in Jira
To troubleshoot the Jira Advanced Settings choose Administration>System > Advanced Settings and make sure that all the date picker formats are entered in the right syntax as perChange the Date/Time format in Jira
この内容はお役に立ちましたか?