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

Bugzilla mapping help required

I'm importing all our Trac tickets into RTC.
I've written code which dumps to the bugzilla format, and plan to use the mappings xml file to fine-tune the import into RTC.
However - I am struggling to find any docs on what attributes are supported? For example - all the entries in my bugzilla.zip file are imported as "defects", how can I selectively map them to defects,tasks,stories etc?

Many thanks

0 votes



4 answers

Permanent link
Just wanted to make sure you knew about this link https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/rational-team-concert-1_0-importing-work-items/index.html.

The generated mapping file contains a number of work item attributes.

Regarding the work item type, you can add something like the following to your mapping file:

<attribute>
<value>
<value>
<value>
</attribute>

I don't know of any doc that lists the supported attributes per say, but if you look at the process configuration source and did a search on the string "com.ibm.team.workitem.attribute.", you would find work item attributes.

And if you had the source code, you can look at the WorkItemAttributes class.

Lorelei
Jazz CQ Connector Team

0 votes


Permanent link
Oops..

Regarding the work item type, you can add something like the following to your mapping file:

<attribute sourceId="record_type" targetId="com.ibm.team.workitem.attribute.workitemtype">
<value sourceId="Defect" targetId="defect"/>
<value sourceId="Task" targetId="task"/>
<value sourceId="Enhancement" targetId="enhancement"/>
</attribute>

Lorelei



Just wanted to make sure you knew about this link https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/rational-team-concert-1_0-importing-work-items/index.html.

The generated mapping file contains a number of work item attributes.

Regarding the work item type, you can add something like the following to your mapping file:

<attribute>
<value>
<value>
<value>
</attribute>

I don't know of any doc that lists the supported attributes per say, but if you look at the process configuration source and did a search on the string "com.ibm.team.workitem.attribute.", you would find work item attributes.

And if you had the source code, you can look at the WorkItemAttributes class.

Lorelei
Jazz CQ Connector Team

0 votes


Permanent link
When I provided that mapping fragment, I was making the assumption that the records you are importing has a field that contains the record type information.

Lorelei

0 votes


Permanent link
Thanks for the excellent responses.

That should solve my issues.

When I provided that mapping fragment, I was making the assumption that the records you are importing has a field that contains the record type information.

Lorelei

0 votes

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: Feb 12 '09, 10:40 a.m.

Question was seen: 4,839 times

Last updated: Feb 12 '09, 10:40 a.m.

Confirmation Cancel Confirm