It's all about the answers!

Ask a question

import parent child relationships 4.0.6

Melanie Dixon (1112) | asked Jun 17 '16, 12:04 p.m.
I am working to export epics, stories and tasks from on project area (our sandbox) to our live environment.  I need to keep my parent child relationships when I do this. 

I have the following columns defined as they were exported from the system:
id, summary, filed against, parent

When I perform my export the parent child relationships are not maintained as the system appears to be trying to link to an existing RTC work item and I receive The status is forbidden.

Did this functionality break in 4.0.6?  I know that there are alot of notes stating that this works however I cannot seem to get this working correctly,.

One answer

permanent link
sam detweiler (12.5k6189201) | answered Jun 17 '16, 12:24 p.m.
the problem with the import in my opinion is the workitem numbers.

you have to do a two pass cycle..

import and create workitems.
export to get new workitem numbers
create parent/child links in exported data
import to create links.

Your answer

Register or to post your answer.