Problem importing issue history into existing issues through JSON import

David Pankov May 3, 2017

Hello, 

i have a problem where i cannot add issue history into existing issues through JSON import. Whenever i try i see this message:
1of 1 issues have been skipped because they already exist in destination projects.

The json i use is:

{ "projects": [
                {
                  "name": "Something - нови инсталации",
                  "key": "BNI1",
                  "type":"software",
                  "issues": 
                            [
                              {
                                "key" : "BNI1-63466",
                                "history" : [
                                    {
                                        "author" : "sederther",
                                        "created": "2017-05-03",
                                        "items": [
                                            {
                                                "fieldType" : "jira",
                                                "field" : "status",
                                                "from" : "1",
                                                "fromString" : "Open",
                                                "to" : "5",
                                                "toString" : "Resolved"
                                            }
                                        ]
                                    }
                                ]
                              }
                            ]
                }
                        
              ]
}


all the info and the format is correct

What is the problem and how can i update the issue history?

Thank you!!!

 

1 answer

0 votes
Zan Dragan August 4, 2017

Hi,

As the message suggests you are trying to import an issue that already exists. The importer first checks for existing keys and skips those issues that already have matching keys.

If you want to edit the history of an existing issue, I suggest you try out the REST API. Take a look at Atlassian REST API Browser.

Regards,
Žan

Suggest an answer

Log in or Sign up to answer