Problem importing issue history into existing issues through JSON import Edited

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

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
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

47 views 0 2
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