Importing comments through Jira CSV importer do not create missing users and associates comments to importer

XMLWordPrintable

    • 5
    • Severity 3 - Minor
    • 3

      Issue Summary

      While importing comments through Jira CSV importer, if the user do the exists it does not create missing user and associates comments to the user that is performing CSV import

      CSV importer would create users on-the-go when it fails to map the content to an existing user. This works for fields such as "Assignee" or "Reporter".

      However, it has a different behavior when mapping Comments to users; the CSV importer somehow is not capable of creating users for this case (it can only map to existing users).

      Ultimately, if the CSV importer cannot create the user or cannot map the user, the CSV importer will associate those content with the user who is performing the import.

      Steps to Reproduce

      1. Import Jira CSV file, make sure there are comments in the CSV file

      Expected Results

      1. Comments are associated to the right user

      Actual Results

      If user is not present, comment is associated to the user performing CSV import

      The below exception is thrown in the xxxxxxx.log file:

      2019-06-24 20:40:32,323 WARN - Commenter named ron.shafii not found. Creating issue with currently logged in user instead
      

      Notes

      Irreversible - we cannot associate comments to the correct user after it is associated to he user performing CSV import

      Workaround

      Import users before content.

       

      Short Term solution:

      Throw a pop-up recommending to import users before content

       

      Long Term solution:

      Create user, if they are not present - similar behaviour as in  "Assignee" or "Reporter"

            Assignee:
            Unassigned
            Reporter:
            Bhargavi Kalari
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: