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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,343 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot