JSON importer does not accept accountIDs for history data

XMLWordPrintable

    • 35
    • Severity 3 - Minor
    • 6

      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.

            Assignee:
            Unassigned
            Reporter:
            Ramon M (Inactive)
            Votes:
            21 Vote for this issue
            Watchers:
            40 Start watching this issue

              Created:
              Updated: