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 |
4 answers
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 |
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. |
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 |
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. |
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.