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

Creating work item categories and associated teams in batch

When doing a migration of defect type records from ClearQuest to RTC using the CQ Importer from the RTC client, there doesn't seem to be a way to create the needed work item categories in the target project to map to the ClearQuest Product/component structure. The ClearQuest schema I'm working with has product and component fields which we want to map to work item categories in RTC. We know we can use concatenation in the mapping file like
attribute sourceId="Product/Component" targetId="com.ibm.team.workitem.attribute.category"
and this will import the defects with the proper Filed Against value.
The dilemma is how to create the actual categories in the project. Is there a way to do this in batch using an API?

0 votes



5 answers

Permanent link
Not sure if I understand your question. The CQ Importer will create the work item categories on the fly if they don't already exist for the project area.

0 votes


Permanent link
Not sure if I understand your question. The CQ Importer will create the work item categories on the fly if they don't already exist for the project area.

In reading my original post, I see I failed to explain clearly. The team migrating wants to take the opportunity to restructure this product/component/sub-component hierarchy. Basically do some renaming so, in reality, these work item categories may not be the same names as the source in CQ. In the instances where they don't match, we want to create them upfront, prior to the migration.

0 votes


Permanent link
If I understand this restructuring effort, you are saying you want to create work item categories prior to running the CQ Importer. So you are asking if there is some API in creating the categories?

0 votes


Permanent link
If I understand this restructuring effort, you are saying you want to create work item categories prior to running the CQ Importer. So you are asking if there is some API in creating the categories?

Yes. We would create them prior to importing and then map to them in the XML mapping file.

0 votes


Permanent link
I've contacted someone from the work item team and hopefully you will hear from them.

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: Apr 20 '11, 8:09 a.m.

Question was seen: 6,001 times

Last updated: Apr 20 '11, 8:09 a.m.

Confirmation Cancel Confirm