Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to create and link child work to parent work item while importing CSV file using WCL

 Hi All,


I am using work item command line 4.1  for importing workitem from CSV to RTC, It is working properly
but I want to create parent with child work item from CSV
example        type     id     summary       children
                      task     12      task1            #14
                      task      14     task2             

I want to create both mentioned work item as above with parent child relationship  using work item command line
how can I do that please suggest me

Thank You !

0 votes


Accepted answer

Permanent link
The documentation for WCL is a bit fragmented. Here the export/import: https://rsjazz.wordpress.com/2015/11/03/a-rtc-workitem-command-line-version-3-0/

It works very similar to the RTC CSV export and import, it also uses the same mapping file. (Which you can create a starter for by exporting).
CLM _User selected this answer as the correct answer

0 votes

Comments

Hi Ralph I have gone through all links regarding work item command line, for creating parent child work item simultaneously while importing CSV file into RTC using multipass command  but after importing, child and parent work item created without linking 


see the below exception

work Item 1121 specified but not found. Creating new work item
Exception! Link items - no targets found: @link_child = 1134
Ignored....... 

It tries to create a link to work item 1121 which it can not locate. I don't know what the issue could be, and you should not expect me to debug it for you.  Especially with almost no iformation from your side. You have the source code if you want.
So why is WI 1121 not existent?
Have you looked at the option /forcelinkcreation ?

 Thanks Ralph :) now I am getting correct output

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Dec 26 '18, 1:14 a.m.

Question was seen: 2,023 times

Last updated: Dec 27 '18, 4:59 a.m.

Confirmation Cancel Confirm