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

Clarification needed: CQ to RTC mapping file "Specifying attribute types"

Hello,

I am a little confused with the following topic about mapping file for CQ to RTC with CQ Import Wizard.

http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/index.jsp?topic=%2Fcom.ibm.team.connector.cq.doc%2Ftopics%2Ft_specifying_attribute_types.html

The topic says "For work item attributes that belong to an attribute type, you must specify the attribute type in the mapping file".

1. Any RTC attribute belongs to an attribute type. Does that mean we always need to specify the <attributeType> element?

2. I can easily understand if the fact is that we need to specify the attribute type when the attribute is a multi-valued one. I don't know if this understanding is correct or not and thus clarification is appreciated.

3. How do we map a CQ field with true and false values to a boolean attribute type in RTC? Do we need to specify attribute type? How do we found its source ID in RTC?

Thanks and regards

0 votes


Accepted answer

Permanent link
<attribute sourceId="isCustomerFiled" targetId="iscustomerfiled">
<attributetype targetId="boolean"/>
<value sourceId="1" targetId="true"/>
<value sourceId="0" targetId="false"/>
</attribute>
Frank Ning selected this answer as the correct answer

0 votes


One other answer

Permanent link
Hello Frank

I believe your understanding of 1. and 2. is correct. You only need it when the attribute if a multi-valued one. I will submit a work item to improve the infoCenter content on this topic.


For 3. You can have something like the following. (In my case, "isCustomerFiled" in CQ is an INT, in RTC is a boolean typ)
<attribute sourceId="isCustomerFiled"
           targetId="iscustomerfiled">
<attributeType targetId="boolean"/>
<value sourceId="1" targetId="true"/>
<value sourceId="0" targetId="false"/>
</attribute>

- Yuhong

Yuhong Yin
ClearCase/ClearQuest Jazz Integration

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
× 12,019
× 1,381
× 115

Question asked: Jan 31 '13, 9:35 a.m.

Question was seen: 5,811 times

Last updated: Feb 08 '13, 6:10 p.m.

Confirmation Cancel Confirm