It's all about the answers!

Ask a question

Assign default value to Filed Against attribute of workitem


Sridhar Annadata (2642) | asked Nov 05 '10, 2:13 p.m.
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

2 answers



permanent link
Patrick Streule (4.9k21) | answered Nov 08 '10, 7:08 a.m.
JAZZ DEVELOPER
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

permanent link
Lorelei Ngooi (1.5k22) | answered Nov 08 '10, 10:18 a.m.
JAZZ DEVELOPER
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.

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.