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

Assign default value to Filed Against attribute of workitem

Hi,

I am importing records from ClearQuest to Team Concert using Connector. I wanted a default category to be assigned to all the records that are imported (Filed Against attribute). Is there a way I can do that?

Any suggestions are greatly appreciated.

Thanks
Sridhar

0 votes



2 answers

Permanent link
I am importing records from ClearQuest to Team Concert using
Connector. I wanted a default category to be assigned to all the
records that are imported (Filed Against attribute). Is there a way I
can do that?

Any suggestions are greatly appreciated.

RTC 3.0 and RTC 2.0.0.2 support the concept of default values. In 3.0,
you can define the default value in the UI.

For 2.0.0.2, you find more information in
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders

--
Regards,
Patrick
RTC Work Item Component Lead

0 votes


Permanent link
If you are using the CQ Import wizard to import the records, then you can add a value mapping to the data mapping file that specifies a fixed category value.

<attribute sourceId="Project" targetId="com.ibm.team.workitem.attribute.category"/>
<attributeType targetId="category">
<value sourceId="*" targetId="SomeFixedCategory"/>
</attributeType>

In this example, * is a wild card character, so regardless of the source value, the target value is fixed.

If you are using the CQ Synchronizer (formerly CQ Connector) instead to import the records, then please see the "To map an empty external value to a fixed category value" section in the online help, http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.connector.cq.doc/topics/t_edit_synch_rules_for_categories.html.

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: Nov 05 '10, 2:13 p.m.

Question was seen: 5,323 times

Last updated: Nov 05 '10, 2:13 p.m.

Confirmation Cancel Confirm