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

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.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

118 views 0 5
Read article

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