Changing the due date of an issue in an Agile board or loading a Kanban report throws Uncaught TypeError error in Jira server

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

Symptoms

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

1 2 3 4 5 6 7 8 9 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\)

Cause

  • This can be caused by an invalid custom date format recently set in either or both Jira Look and Feel and Advanced Settings

Resolution

Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.