Migration of work items
I'm trying to migrate some of work items from one RTC server to another. Is it possible to import work items and to set new id to be equal to old id? It's very important that ids are equal. Also I have comments that have links to other work items that needs to work after the migration is completed.
Thanks for your help.
Thanks for your help.
Accepted answer
2 other answers
Hi Tomislav..,
Theoretically, it is not possible for a developer to determine ID of the workitem.
Consider a scenario where you want to migrate workitems with ids 1- 100 from a source server to destination(assumping it is new server).
1. Create a query which lists all the work items and sort it based on ids before saving it.
2. Export it to a csv file...,
Now while importing workitems from csv, the new server will assign same ids (i.e 1-100, since it is new) for the workitems imported provided no other users are creating workitems on current server simultaneously else where.
Constraints:
If it is not new server(i.e workitems has already been created), then you'll have no control over the ids of workitems that you are going import.
P.S. In import feature, client will traverse workitems present in csv file from top to bottom and assign a number which is next to id of most recently workitem.
Hope this helps in your qwest.
Theoretically, it is not possible for a developer to determine ID of the workitem.
Consider a scenario where you want to migrate workitems with ids 1- 100 from a source server to destination(assumping it is new server).
1. Create a query which lists all the work items and sort it based on ids before saving it.
2. Export it to a csv file...,
Now while importing workitems from csv, the new server will assign same ids (i.e 1-100, since it is new) for the workitems imported provided no other users are creating workitems on current server simultaneously else where.
Constraints:
If it is not new server(i.e workitems has already been created), then you'll have no control over the ids of workitems that you are going import.
P.S. In import feature, client will traverse workitems present in csv file from top to bottom and assign a number which is next to id of most recently workitem.
Hope this helps in your qwest.