JSON import reporter user in history

David Pankov August 11, 2017

Hello,

Im trying to import issues using JIRA JSON importer.
Lets say my user in JIRA is Mark and i want to import issue created by John.
I enter the importer and choose a file that has this issue:

{
    "projects": [
        {
            "name": "Sample data",
            "key": "SAM",
	    "type": "software",
            "issues": [
                {
                    "key" : "SAM-123",
                    "status" : "Open",
                    "reporter" : "John",
                    "summary" : "Parent case",
                    "externalId": "123"
                }
            ]
        }
    ]
}

 The problem is that when i enter the imported issue in JIRA i see in the right side... Reporter: John (thats fine), but when i enter the history tab, its shows Created By Mark??? why is that? is there any way to move John's name to the history is i can see the real Reporter there?

1 answer

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 14, 2017

Hi David,

I would try to create the history section per the instructions in Importing Data from JSON:

"history" : [
              {
                  "author" : "alice",
                   "created": "2012-08-31T15:59:02.161+0100",
                   "items": [
                    {
                       "fieldType" : "jira",
                       "field" : "status",
                       "from" : "1",
                       "fromString" : "Open",
                               "to" : "5",
                                "toString" : "Resolved"
                           }
                        ]
                    }
                ],

 

Cheers,

Branden

David Pankov August 15, 2017

Hi Branden, i tried you suggestion but it did not worked.
i saw the same problem reported but it looks like there is no solution https://stackoverflow.com/questions/31449194/jira-how-to-set-the-issue-creator-when-importing-via-json

Suggest an answer

Log in or Sign up to answer