External System Import - CSV - Unable to Parse 'Date Created' field .

Guy Aburus June 24, 2021

I am attempting to import bugs from Bug Tacker to JIRA .  When I attempt the import I am successfully importing all fields except the 'Date Created' field .

I am importing from a .csv created by Excel.

I have tried a few different date or date/time formats in excel before saving the CSV file.

The issues all import except for the following field:

  • Date Created  

This filed is empty after the import.

CSV file dates are formatted to m/d/yyyy h:mm (e.g 1/25/2021 7:58:00 PM)

In External System Import Date format I am changing the Date format

  • from (default setting)    dd/MMM/yy h:mm a
  • to  m/d/yyyy h:mm 

This filed is empty after the import.

The log shows 

Unable to parse created date: 4/8/2021 11:30
Unable to parse created date: 4/6/2021 18:26
Unable to parse created date: 4/5/2021 18:19
Unable to parse created date: 4/5/2021 12:50
Unable to parse created date: 4/4/2021 17:42

 

1- FromCSV_file.PNG2- MapProject.PNG3- MapFields.PNG4- MapValues.PNG5- Unable to parse created date .PNG

 

 

 

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2021

Ok, you say

"CSV file dates are formatted to m/d/yyyy h:mm"

But I doubt it.

That format is 

minute/day of month/year hour:minute

Two problems - you probably want to start with an M for month number, not an m for minute, and your h means "hour of morning/afternoon" and your dates do not contain an am/pm flag.  Either use hh for 24 hour clock or add am/pm to the CSV

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 24, 2021

Yes… his example CSV shows 4/5/2021 18:19 so that should be M/dd/yyyy hh:mm I think?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2021

Yes, I'm pretty sure h is 12 hours, and hence needs the am/pm, and hh (or H) is 24 so it doesn't anything other than a number from 0-23

Guy Aburus June 24, 2021

Thanks, I managed , I changed the format cells in CSV file to m/d/yy h:mm

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 24, 2021

Can you try using M/d/yy h:mm in your format during import?

Guy Aburus June 24, 2021

Still "Unable to parse created date .."

 

11.PNGUnable.PNG

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 24, 2021

Sorry it seems you have the full year? So M/d/yyyy maybe. However if your source has “0” in day field, e.g. 4/03/2021 then it would be M/dd/yyyy…I think. I believe there is a link that The import provides for formatting?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events