Invalid date format when using JIRA with JRE/JDK 1.8.0_11

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

The Brazilian Portuguese translation pack is not officially supported by Atlassian as all work on it has been done by our community in Atlassian Translations.

Symptoms

The following error message appear on the UI when selecting a date in date-picker and saving the modification:

1 Você não digitou uma data válida. Por favor insira a data no formato "d/MMM/yy", por exemplo: "5/mar/15"

Diagnosis

Check the Java version of the JVM in which JIRA is running by going into the System Info panel, inside the System tab on JIRA's Administration panel.

(Auto-migrated image: description temporarily unavailable)

If that is 1.8.0_11, then the problem will occur.

Cause

There is a bug in Java's date verification method for Brazilian Portuguese locales. The bug has been resolved but, as of today, hasn't made its debut on a final release of Java 8.

Solution

Workaround

Use Java 7's latest update that is still fully supported by JIRA (at least up to 6.4 release).

While this functionality wasn't tested with the latest Java 8 release due to possible problems when using JDK 1.8.0_31 with JIRA 6.4, feel free to test and edit this KB article!

  1. Open up catalina.sh (or catalina.bat if you are on Windows);

  2. Add the following line before the start of configuration lines:

    1 JRE_HOME=/path/to/java/7
  3. Restart JIRA;

ℹ️ This has been tested with JDK 1.7.0_75.

Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.