• 1
    • 4
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      Currently, the CSV file import wizard allows specifying a date format (this could be Date e.g "dd/MM/yyyy" or Datetime e.g "dd/MM/yyyy h:mm a".

      • If you specify the DateTime format: It will work for Datetime fields, but fail to import Date fields, and
      • If you specify Date format, it will import both Date and DateTime fields but the DateTime fields will be stripped of the time digits. For instance, when "dd/MM/yyyy" is specified and you have a column with values like 25/12/2020 and another with 23/12/2020 9:15 PM.
        • 25/12/2020 will be imported but,
        • 23/12/2020 9:15 PM will be imported at 23/12/2020 00:00:00 (23/12/2020 12:00 AM)

      Suggested Solution

      Allow the ability to specify how both Date and Datetime fields will be imported, so that they can work at the same time.

      Why This Is Important

      When importing a CSV of issues into Jira, a customer could have both Date and DateTime columns on the same CSV. Since the fields can't be imported correctly at the same time, the customer will have to run the import twice (see workaround). It will save time if it can be done in one go.

      Workaround

      Import the values with 2 imports (first import for the date fields and the second for the DateTime fields, or vice versa).

      To avoid duplicating the issues, the CSV file for the second import needs to contain a column that maps to Issue Key so that it will update existing issues (created from the first import). If an issue exists for a given key, it will be updated.

      So steps to complete after the first import (assuming Date fields were imported first):

      • Export all the imported issues from Jira to a CSV: 
        • Filters > Advanced Issue Search.
        • Once you have filtered the issues, export using the Export button on the top right corner of your Filter page.
        • Important fields are Project, Issue key, and Summary
      • Once exported, update the CSV file with the Datetime field.
        • You can update the values by doing a VLOOKUP in Excel on the Summary column. Note: this assumes that the Summary column is the best match between the 2 CSV files - CSV used for the first import and the CSV exported from Jira
      • Once the CSV is ready, run another import to update only the Datetime fields.

            [JRACLOUD-82009] Ability to import date and datetime fields at the same time

            Hello!

            We’re looking to improve the import experience in Jira and are keen to understand how our community is using the Jira Import Module (JIM). If you’ve used JIM to migrate/move data into Jira recently, we’d love to hear about your experience. Please take a few minutes to fill out this survey. Your feedback will help us learn how we can improve your experience in importing data.

            Survey link - https://forms.gle/NYNkmS92r96z42QV9

            Thanks!

            Prashanth M
            Product Manager, Jira Platform

            Prashanth M added a comment - Hello! We’re looking to improve the import experience in Jira and are keen to understand how our community is using the Jira Import Module (JIM). If you’ve used JIM to migrate/move data into Jira recently, we’d love to hear about your experience. Please take a few minutes to  fill out this survey . Your feedback will help us learn how we can improve your experience in importing data. Survey link -  https://forms.gle/NYNkmS92r96z42QV9 Thanks! Prashanth M Product Manager, Jira Platform

            Rob Horan added a comment -

            Can this be changed from a suggestion to a bug?

            Rob Horan added a comment - Can this be changed from a suggestion to a bug?

            Rob Horan added a comment -

            I had the same problem recently, and the idea of doing a second import was NOT appealing.  (Neither was using VLOOKUP, which I have no experience with)

            As an alternative, I opened my CSV in a spreadsheet app and sorted by each date field so I could clump all the values for that field at the top.  Then for each field, I copied values to a text editor (I used VSCode, Notepad ++ will work if you're fortunate enough to have Windows) and recorded a macro in which I suffixed each date with a dummy time and ran it to the end, so that every date had a dummy time, and then pasted back into the spreadsheet.

            Do this for every date-only field - sort, copy to the text editor, modify, copy back to the spreadsheet, move on to the following date field - until all the date fields are done, and then restore the original sort order you had if that had any importance and save a new copy of your CSV for import.

            Now you'll be able to import into date pickers without error, and the time values will just be ignored.

            Rob Horan added a comment - I had the same problem recently, and the idea of doing a second import was NOT appealing.  (Neither was using VLOOKUP, which I have no experience with) As an alternative, I opened my CSV in a spreadsheet app and sorted by each date field so I could clump all the values for that field at the top.  Then for each field, I copied values to a text editor (I used VSCode, Notepad ++ will work if you're fortunate enough to have Windows) and recorded a macro in which I suffixed each date with a dummy time and ran it to the end, so that every date had a dummy time, and then pasted back into the spreadsheet. Do this for every date-only field - sort, copy to the text editor, modify, copy back to the spreadsheet, move on to the following date field - until all the date fields are done, and then restore the original sort order you had if that had any importance and save a new copy of your CSV for import. Now you'll be able to import into date pickers without error, and the time values will just be ignored.

            I have the same issue. Really anoying why not the same formats are provided for export and than import these CSV Files.

            By the way: same goes for user names. Please always provide the format in the csv export which you need in the import than.

            Best,

            Bea

            Beatrice Glienke added a comment - I have the same issue. Really anoying why not the same formats are provided for export and than import these CSV Files. By the way: same goes for user names. Please always provide the format in the csv export which you need in the import than. Best, Bea

              Unassigned Unassigned
              e32c3a85cf21 Uchechi I
              Votes:
              12 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: