We’re running JIRA Software Server v7.10.0
I created a Custom Date Picker field whose format is MM/dd/yyyy. Though we had previously used this field without error we are now seeing an error on our Production instance.
Exception occurred: com.altassian.jira.exception. DataAccessException: org.ofbiz.core.entity. GenericEntityException: while inserting: [GenericEntity:CustomFieldValue] [parentkey,null][customfield,10300][issue,20703][datavalue,0018-11-15 00:00:00.0][id,417402][updated,1542374992188] (SQL Exception while executing the following: INSERT INTO dbo.customfieldvalue (ID, ISSUE, CUSTOMFIELD,UPDATED,PARENTKEY,STRINGVALUE,NUMBERVALUE,TEXTVALUE,DATEVALUE,VALUETYPE) VALUES (?,?,?,?,?,?,?,?,?,?) (The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value.))
When I tested Production by
- Using the calendar date picker – whose output format is MM/dd/yy
- Manually entering a date in the MM/dd/yy format
we get the error.
If I do the exact same test in Development, MM/dd/yy is converted to MM/dd/yyyy (which is what I expected to happen) and no error is thrown.
Does anyone have any suggestions on how I might resolve this?
Jim