It's all about the answers!

Ask a question

Has anyone tried Bugzilla to Jazz work item migration?


Guowei Jim Hu (1.0k910353) | asked Dec 03 '08, 12:55 p.m.
Please can you share your experience and post sample XML files you used to do the export from Bugzilla, import to Jazz and the mapping gfile if you use?

25 answers



permanent link
Lorelei Ngooi (1.5k22) | answered Aug 21 '09, 4:01 p.m.
JAZZ DEVELOPER
That's good to know. Thanks for verifying this.

permanent link
Daniel Meyer (7186) | answered Aug 31 '09, 3:32 a.m.
I have the following mappings in the xml.

sourceId="description" targetId="com.ibm.team.workitem.attribute.description"
sourceId="short_desc" targetId="com.ibm.team.workitem.attribute.summary"

Do i need to add a mapping for the comments, which then would be the "long_desc" entries? If so, what is the correct targetId?

With these two only i still get the error "java.lang.NullPointerException".

permanent link
Guowei Jim Hu (1.0k910353) | answered Aug 31 '09, 10:48 a.m.
I have the following mappings in the xml.

sourceId="description" targetId="com.ibm.team.workitem.attribute.description"
sourceId="short_desc" targetId="com.ibm.team.workitem.attribute.summary"

Do i need to add a mapping for the comments, which then would be the "long_desc" entries? If so, what is the correct targetId?

With these two only i still get the error "java.lang.NullPointerException".


What I have put in the mapping file is:
attribute sourceId="description" targetId="com.ibm.team.workitem.attribute.description"
attributeType targetId="description"
value sourceId="" targetId=""
attributeType

I don't have an entry for short_desc in the mapping although I do have one entry in the source XML file for the importer and it apprently is picked up automatically bynthe importer.

permanent link
Lorelei Ngooi (1.5k22) | answered Aug 31 '09, 11:29 a.m.
JAZZ DEVELOPER
I have the following mappings in the xml.

sourceId="description" targetId="com.ibm.team.workitem.attribute.description"
sourceId="short_desc" targetId="com.ibm.team.workitem.attribute.summary"

Do i need to add a mapping for the comments, which then would be the "long_desc" entries? If so, what is the correct targetId?

With these two only i still get the error "java.lang.NullPointerException".


Please submit a bug report on this NPE against 'Work Item' filling out all
details. Also include the mapping file.

Regarding the long_desc entry, that does not need to be included in the mapping. The importer knows about this field.

permanent link
Lorelei Ngooi (1.5k22) | answered Sep 01 '09, 4:02 p.m.
JAZZ DEVELOPER
I have the following mappings in the xml.

sourceId="description" targetId="com.ibm.team.workitem.attribute.description"
sourceId="short_desc" targetId="com.ibm.team.workitem.attribute.summary"

Do i need to add a mapping for the comments, which then would be the "long_desc" entries? If so, what is the correct targetId?

With these two only i still get the error "java.lang.NullPointerException".


Are you saying you only have two entries in the mapping file?

Are you trying to save the contents into a zip file or directly import into a project area?

You don't add a mapping for the long_desc field. That field has some special handling.

Your answer


Register or 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.