New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-8825
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Chris Mountford [Atlassian]
Reporter: Brian Nguyen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

CSV Import should handle date time format

Created: 15/Dec/05 10:31 PM   Updated: 30/Jul/06 07:34 PM
Component/s: Import / Export
Affects Version/s: 3.4.2
Fix Version/s: 3.4.3

Time Tracking:
Not Specified

Participants: Brian Nguyen and Chris Mountford [Atlassian]
Since last comment: 2 years, 33 weeks, 3 days ago
Resolution Date: 29/Dec/05 07:50 PM
Labels:


 Description  « Hide
Currently Jira assumes that all date fields are date picker fields. The problem is that generally the date-time format is different to the date format, but the csv import does not take this into account and so the following error is thrown.

[16:52:26] FAILED: Customfield value 13-Feb-04 is invalid
[16:52:26] com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid date / time format. Expected dd-MMM-yy hh:mm a
at com.atlassian.jira.issue.customfields.converters.DateTimePickerConverter.getTimestamp(DateTimePickerConverter.java:50)
at com.atlassian.jira.issue.customfields.impl.DateTimeCFType.getSingularObjectFromString(DateTimeCFType.java:50)
at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:478)
at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:86)
at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21)

Jira needs to add the time information to the date field string.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Chris Mountford [Atlassian] added a comment - 19/Dec/05 01:04 AM
To reproduce this bug, first ensure there is an existing datetime custom field and then import from the csv file with a date formatted column mapped to that existing custom field.

Chris Mountford [Atlassian] added a comment - 29/Dec/05 07:50 PM
Fixed and added cut-down functional tests applicable from HEAD