Invalid date when trying to Log Work in Jira Data Center
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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
When trying to Log Work on an Issue in Jira, the Date Started field shows a invalid date or returns an error when a valid date is entered.
Diagnosis
Check the Date/Time Formats in Jira Configuration:
- Administration > System > User Interface > Look & Feel > Date/Time Formats
Check the Advanced Settings for Date Picker and Date Format:
- Administration > System > General Configuration > Advanced Setting.
Cause
Date and Time picker formats are not matching in JIRA's Advanced Settings.
Resolution
- Go to Administration > General Configuration > Advanced Setting.
- Verify the key jira.date.picker.java.format corresponds with the key jira.date.picker.javascript.format.
- Verify the key jira.date.time.picker.java.format corresponds with the key jira.date.time.picker.javascript.format.
See here for more on Configuring date picker formats