Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-81929

JSON importer does not accept accountIDs for history data

    XMLWordPrintable

Details

    Description

      Issue Summary

      JSON importer does not accept accountIDs for history data

      Steps to Reproduce

      1. Create a JSON import file and specify a history / change log data to import.
      2. Use AccountID for the author.
      3. Import into JIRA using the JSON importer
      {
          "projects": [
              {
                  "name": "BURNUP",
                  "key": "BUR",
      			"type": "software",
                  "issues": [
                      {
      					"key" : "BUR-134",
                          "status" : "TO DO",
                          "reporter" : "5570XXXXXXXXXXXXXX",
                          "summary" : "Parent case",
                          "externalId": "134",
                          "history" : [
                              {
                                  "author" : "5570XXXXXXXXXXXXXX",
                                  "created": "2019-08-11T15:59:02.161+0100",
                                  "items": [
                                      {
                                          "fieldType" : "jira",
                                          "field" : "status",
                                          "from" : "3",
                                          "fromString" : "In Progress",
                                          "to" : "10006",
                                          "toString" : "To Do"
                                      }
                                  ]
                              },
                              {
                                  "author" : "5570XXXXXXXXXXXXXX",
                                  "created": "2019-09-21T15:59:02.161+0100",
                                  "items": [
                                      {
                                          "fieldType" : "jira",
                                          "field" : "status",
                                          "from" : "3",
                                          "fromString" : "In Progress",
                                          "to" : "10006",
                                          "toString" : "To Do"
                                      }
                                  ]
                              }
                          ]
                      }
                  ]
              }
          ]
      }
      

      Expected Results

      On the imported data, the changelog author should correlate to the accountID

      Actual Results

      The imported data, shows "unknown" user.

      Workaround

      Set the changelog author to the accounts username if that is known.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rmacalinao Ramon M
              Votes:
              16 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated: