Importing Date Modified/ Date Updated into JIRA through csv file

I am importing data via csv file using the system importer from the Admin side (not the project admimistration side). I am trying to import the dates of last updated into the system field "Date Modiefied."

This does not work as I had thought and instead the date updated reflects the date that I did the imports on.

Does anyone know how to import dates into the Date Modified field using csv file through the system importer?

1 answer

1 accepted

Accepted Answer
0 votes

Form a quick look at a source code of JIRA Importers Plugin (responsible for CSV import functionality in JIRA) I conclude that theoretically "Date Modified" (last updated timestamp) should be supported.

However the functionality is quite fragile, as if you import much more than just basic fields, it can be quickly overwritten by subsequent methods (e.g. responsible for custom fields, linking, attachments, etc.).

Does importing just the summary and Date Modified work for you? If yes, then could you try importing first everything (but losing Date Modified) and then, in the second pass, importing (that is updating) just Date Modified? In the second pass you would have to have a CSV file just with two columns: issue key, update date.

Cheers,
Wojtek

Thank you for the great suggestion. I took your adviced and tried it out and actually figured out what was going wrong.

Apparently when you import with a previous configuration file so that the mapping is already done for you, the updated date does not actually reflect what you have in the csv.

You have to actually manually map the fields yourself in order for the updated date to reflect what you have in the csv.

CRAZY!

Sounds like a bug. Could you please raise an issue at https://ecosystem.atlassian.net/browse/JIM and ideally provide sample json config file and CSV file which demonstrates this problem? You can set Security Level to "Reporter and Atlassian Staff only" to make sure that this data is not disclosed publicly, if it's sensitive.

@Qualcomm SupportWere you able to update the "Modified Date" field in JIRA while importing issues from CSV?

I am trying to import issues using CSV which has updated date and I have mapped them to Modified date during import, but still "Modified date" doesn't gets captured and always reflects time of import.

Same for me — I'm trying to affect the Date Modified, but it just puts in the time of the import instead. Any way around this?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,867 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you