It's all about the answers!

Ask a question

Import work item and the links from csv file


Jia Jia Li (8057131184) | asked Mar 19 '12, 4:10 a.m.
Hi,
Can I import new workitem and its parent or child work item together in one csv file?
In this case, the work item and its parent/child work item are both new.
Can import support this case?

2 answers



permanent link
Eric Jodet (6.3k5104120) | answered Mar 19 '12, 6:59 a.m.
JAZZ DEVELOPER
Hello,
currently - it is possible to import work items that have parent / child relationship.
However, be aware that:
- we have a an issue in some cases that, that should be addressed with
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/187289
(will be part of 4.0 and 3.0.1.3)
- Major enhancement around the import of work item links will be included in 4.0 with the implementation of https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/190121 which is part of broader effort around the CSV Importer feature - https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/190121

Thanks.
Eric.

Comments
Nate Decker commented Jul 24 '13, 8:40 a.m. | edited Sep 24 '13, 12:00 p.m.

This still appears to not be working correctly as of RTC 4.0.1


permanent link
Nate Decker (37812856) | answered Jul 24 '13, 8:47 a.m.

I followed those links, but didn't see that they actually answered the original poster's question.

To import a work item from a CSV so that a parent/child relationship is created, specify one of the Work Item attributes as "Parent". For the value of that attribute, specify the work item to which you want to link and preface the ID number with the '#' character. So it looks like this:

id,parent
1234,#1233

Note that this has worked for me sometimes, but seems to only work infrequently on RTC 4.0.1.

Your answer


Register or to post your answer.