Importing external project via JSON with issue links ignores/overwrites 'updated' date/time

M_S_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2018

I am trying to migrate data from an external project via JSON. Obviously, older records have creation and updated date/time in the past and I would like to keep that history. 

When I import data with the "updated" field set, then everything works fine:

{
"issueType": "Bug",
"externalId": "XXX-2",
"created" : "2012-08-31T17:59:02",
"updated" : "2012-09-12T15:20:12",
...
}

However, when I also create issue links between the imported issues, then all get imported with updated "just now". 

I believe the importer first imports the issues - with updated date/time - then creates the links, which updates/overwrites the date/time. 

Is this a known issue? Is there a workaround for this?

1 answer

1 accepted

0 votes
Answer accepted
M_S_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2018

Ok, this turned out to be a false alarm. Issue links import fine, the problem is caused by importing epic links. 

I have created a new question with a corresponding description.

Suggest an answer

Log in or Sign up to answer