JSON import reporter user in history

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

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

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,861 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you