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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,006 views 4 9
Read article

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