RTC Import from ClearQuest
Hello,
Using the Import option, I tried to import ClearQuest records and its states to RTC. In the .xml file, I have mapped the states with its corresponding Target ID (taken the target id for each of the state from the Process Configuration Source). Upon Import, I can see few states are imported properly, few states are NOT correct. I am not sure about the problem. <attribute> <value> <value> <value> <value> <value> <value> <value> <value> <value> </attribute> Any idea, what could be wrong / or any other work around. I am using RTC Eclipse Client 3.0. Thanks, Arul |
5 answers
Correction : mapping updated
<attribute sourceId="State" targetId="com.ibm.team.workitem.attribute.state"> <value sourceId="New" targetId="1" /> <value sourceId="In Progress" targetId="2" /> <value sourceId="Resolved" targetId="3" /> <value sourceId="Closed" targetId="4" /> <value sourceId="Reopened" targetId="6" /> <value sourceId="Assigned" targetId="8" /> <value sourceId="Deployed" targetId="9" /> <value sourceId="InfoNeeded" targetId="10" /> <value sourceId="Deferred" targetId="11" /> </attribute> |
Two questions first:
1) what is the RTC project process template you are using? 2) which states you think are not wrong after importing? - Yuhong Yuhong Yin CC/RTC and CQ/RTC connectors team |
Hello
1. Scrum process template 2. Assigned imported as Reopened Deployed imported as 9 InfoNeeded imported as 10 -Arul |
Hello
First of all, you should be using the CQ State Name (as string) in the <value> element. <value> It looks to me you are actually using the RTC state names. Secondly, If you see ids (such as 9 and 10) as states after importing, it means that the state id you specified does not actually exist. Please verify both. You can refer to this CQ connector RFE to get more information about the correct way for mapping. 166476: With ClearQuest Importer the default "Custom Data Mapping" xml file should map CQ records to work items created in the Scrum project process template - Yuhong Yuhong Yin CC/RTC & CQ/RTC Connectors Team |
Hi Yuhong
I verified, the CQ state names and ids are correct. I tried in RTC 3.0.1 version, seems like the problem is fixed this version. The records are imported successfully with correct states. Also, I have modified the mapping file .... - <attribute sourceId="State" targetId="com.ibm.team.workitem.attribute.state"> <value sourceId="New" targetId="1" /> <value sourceId="InProgress" targetId="2" /> <value sourceId="Resolved" targetId="3" /> <value sourceId="Closed" targetId="4" /> <value sourceId="Reopened" targetId="6" /> <value sourceId="Assigned" targetId="com.ibm.team.workitem.defectWorkflow.state.s8" /> <value sourceId="Deployed" targetId="com.ibm.team.workitem.defectWorkflow.state.s9" /> <value sourceId="InfoNeeded" targetId="com.ibm.team.workitem.defectWorkflow.state.s10" /> <value sourceId="Deferred" targetId="com.ibm.team.workitem.defectWorkflow.state.s11" /> </attribute> Thanks for your time and responses! -Arul Hello |
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.