It's all about the answers!

Ask a question

RTC Import from ClearQuest


Arul Doraisamy (1634) | asked Jul 21 '11, 8:51 a.m.
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



permanent link
Arul Doraisamy (1634) | answered Jul 21 '11, 8:53 a.m.
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>

permanent link
Yuhong Yin (25123) | answered Jul 21 '11, 11:46 a.m.
JAZZ DEVELOPER
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

permanent link
Arul Doraisamy (1634) | answered Jul 22 '11, 8:05 a.m.
Hello

1. Scrum process template

2. Assigned imported as Reopened
Deployed imported as 9
InfoNeeded imported as 10

-Arul

permanent link
Yuhong Yin (25123) | answered Jul 22 '11, 2:06 p.m.
JAZZ DEVELOPER
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

permanent link
Arul Doraisamy (1634) | answered Jul 25 '11, 7:39 a.m.
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

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

Your answer


Register or 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.