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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

495 views 6 11
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