-
Bug
-
Resolution: Fixed
-
Highest (View bug fix roadmap)
-
9.7.1, 9.8.1, 9.10.1, 9.12.0, 9.11.1, 9.11.2, 9.12.1, 9.12.2, 9.12.4, 9.12.5, 9.12.6, 9.12.12, 9.12.11, 9.12.13
-
9.07
-
84
-
Severity 3 - Minor
-
535
-
-
Issue Summary
The error "Invalid format" is shown in the atlassian-jira.log when building and releasing versions.
This is reproducible on Data Center: yes
Steps to Reproduce
- In JIRA Admin > System > Look and Feel set the Day/Month/Year Format to a format using spaces, e.g. 'dd.MMM.yy' (or any other date time format that is not the default)
- Go to the Versions list of any projects, and click Release for a Version; You will see it released without problems
- Then click Unrelease for the same version
- Now click Build and Release, and the screen refreshes multiple times falling into a loop.
- Return to the Versions lists and you will see the Version still is unreleased
Expected Results
The Version should be released regardless of the format configured in Look and Feel
Actual Results
The Version remains Unreleased and the Version page enters into a loop.
The below example exception is thrown in the atlassian-jira.log file:
http-nio-8080-exec-XXX url: /jira/rest/bamboo/1.0/status/10002/SCRUM-SP-X; user: USER ERROR USER XXXXX SESSIONID IP_ORIG /rest/bamboo/1.0/status/10002/SCRUM-SP-5 [c.a.j.p.e.bamboo.service.BambooReleaseServiceImpl] Unexpected Error Has Occured Performing Release java.lang.IllegalArgumentException: Invalid format: "14.Jun.23" is malformed at ".Jun.23" at org.joda.time.format.DateTimeFormatter.parseLocalDateTime(DateTimeFormatter.java:900) at com.atlassian.jira.datetime.JodaDateTimeFormatter.parse(JodaDateTimeFormatter.java:42) at com.atlassian.jira.datetime.DateTimeDatePickerFormatter.parse(DateTimeDatePickerFormatter.java:28) at com.atlassian.jira.datetime.DateTimeFormatterImpl.parse(DateTimeFormatterImpl.java:51) at com.atlassian.jira.util.DateFieldFormatImpl.parseDatePicker(DateFieldFormatImpl.java:42) at jdk.internal.reflect.GeneratedMethodAccessor1139.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Workaround
- Go to JIRA Admin > System > Look and Feel
- Revert the Day/Month/Year Format to the default format settings: dd/MMM/yy
Or, release the version manually from the project's administration page for version.
Notes
There seem to be correlation with the Jira Admin > System > General Configuration > Advanced Settings > jira.date.picker.java.format. If reverting the values in 'Look and Feel' doesn't work, check the jira.date.picker.java.format value and sync it with the value in 'Look and Feel'
- is caused by
-
JRASERVER-41646 Releasing a version shows the Release Date one day behind the date originally set
-
- Closed
-
- is related to
-
JRASERVER-78026 Getting the "java.lang.IllegalArgumentException: Invalid format:" error when trying to release a version
-
- Gathering Impact
-
- relates to
-
JRASERVER-76438 Release versions show the Release Date one day behind the date originally set
-
- Gathering Impact
-
- is resolved by
-
JDCWUMAL-16 You do not have permission to view this issue
https://getsupport.atlassian.com/browse/PS-173754