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

Import Duplicated pair of bugs from Bugzilla to Jazz

We are working on migration from CQALM to Jazz via Bugazilla and found an interesting but annoying case.

The duplicated pair of bugs are imported to Jazz without error or warning. But if you modify an Closed item marked as Duplicate, like adding a Tag, then saving the item will automatically do the following too:

Status Closed → Reopened
Resolution Duplicate → Unresolved
Tags added: test
Resolved By STEFAN EBERL → Unassigned

I tested on the work itemes created in the Jazz directly and it does allow me to save the Closed item of Duplicate as it is when I tried to add to Tag field.

Comparing the two cases, I found that the imported work item lost their Duplicate link in the Link area. So is the question, how do I take care of the Links like duplication, dependon, etc when migrating from Bugzilla XML file to Jazz via Jazz importer? I know the <cc></cc> entry can make subscriber link mapped and imported correctly, do we have something similar for Duplicate, DependOn?

Any help is appreciated.

0 votes



13 answers

Permanent link
Does anyone know if the Jazz Importer can be run on commandline for importing Bugzilla XML files so we can specify users other than who is running the RTC client?

0 votes


Permanent link
The <dependson> and <blocked> tags are used to represent those relationships in the Bugzilla importer.

0 votes


Permanent link
There is a CQ import wizard which is based on the Bugzilla importer in the 2.0 release.

0 votes


Permanent link
There have been some improvements to the Bugzilla Importer in the 2.0 release to support relationships. If you have an earlier release, then duplicate links would be imported based on a Duplicate resolution and the referenced bug id would be embedded in the comments field. This is an example of the comments field in the xml record to be imported.

<long_desc>
<who>kim_horne@ca.ibm.com</who>
<bug_when>2005-01-30 09:13</bug_when>
<thetext>*** Bug 83698 has been marked as a duplicate of this bug. ***</thetext>
</long_desc>

0 votes


Permanent link
There have been some improvements to the Bugzilla Importer in the 2.0 release to support relationships. If you have an earlier release, then duplicate links would be imported based on a Duplicate resolution and the referenced bug id would be embedded in the comments field. This is an example of the comments field in the xml record to be imported.

<long_desc>
<who>kim_horne@ca.ibm.com</who>
<bug_when>2005-01-30 09:13</bug_when>
<thetext>*** Bug 83698 has been marked as a duplicate of this bug. ***</thetext>
</long_desc>


Thanks, Lorelei,
So you are saying that I can use <dependson> to specify the CQ bug IDs, and the Jazz importer will be able to find the new work item IDs created for them and setup the link properly?

Our case is a little more complicated. We are moving from CQALM to Jazz via Bugzilla. So we have to crush the multi-layer of the CQALM data structure into one layer around the CQTask which we use to map to Jazz's work item.

The duplicate link is set at Request record level and one Request in CQALM usually contains more than on Tasks, making it very difficult to get the Task ID to be used for the duplicate link as we don't map/import the Request ID.

0 votes


Permanent link
Can Jazz Importer be run on commandline for importing Bugzilla XML files so we can specify users other than who is running the RTC client?

0 votes


Permanent link

So you are saying that I can use <dependson> to specify the CQ bug IDs, and the Jazz importer will be able to find the new work item IDs created for them and setup the link properly?
Yes


Our case is a little more complicated. We are moving from CQALM to Jazz via Bugzilla. So we have to crush the multi-layer of the CQALM data structure into one layer around the CQTask which we use to map to Jazz's work item.

The duplicate link is set at Request record level and one Request in CQALM usually contains more than on Tasks, making it very difficult to get the Task ID to be used for the duplicate link as we don't map/import the Request ID.

I am not familiar with the ALM schema, so can't make a comment on this.

0 votes


Permanent link
Can Jazz Importer be run on commandline for importing Bugzilla XML files so we can specify users other than who is running the RTC client?


I'll leave this for the work item folks to comment. Here's a link to a technote about the Bugzilla Importer, http://jazz.net/library/technote/69.

0 votes


Permanent link
There have been some improvements to the Bugzilla Importer in the 2.0 release to support relationships. If you have an earlier release, then duplicate links would be imported based on a Duplicate resolution and the referenced bug id would be embedded in the comments field. This is an example of the comments field in the xml record to be imported.

<long_desc>
<who>kim_horne@ca.ibm.com</who>
<bug_when>2005-01-30 09:13</bug_when>
<thetext>*** Bug 83698 has been marked as a duplicate of this bug. ***</thetext>
</long_desc>


Leoreli,
We are using RTC 1.0.1. So the duplicate links should be imported if:
1. Duplicate resolution is set;
2. I need to construct a <long_desc></long_desc> to include the referenced bug id as in the example you gave

Are those *** the format requirement?

0 votes


Permanent link
The example I gave just gives the particular bug's duplicates. If this bug is a duplicate of some other bug, then the comment format is the following:
<long_desc>
<who>kim_horne@ca.ibm.com</who>
<bug_when>2005-01-30 09:13</bug_when>
<thetext>*** This bug has been marked as a duplicate of 123. ***</thetext>
</long_desc>

For a particular bug,
1. To import its duplicates, include a long_desc tag with the format I gave previously. There can be more than one long_desc for each duplicate.
2. To import the bug that it is a duplicate of, then the resolution value should be DUPLICATE and construct the above long_desc.

0 votes

1–15 items
page 1of 1 pagesof 2 pages

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

Question asked: Jun 12 '09, 2:41 p.m.

Question was seen: 10,568 times

Last updated: Jun 12 '09, 2:41 p.m.

Confirmation Cancel Confirm