It's all about the answers!

Ask a question

Reusing custom attributes on multiple work items


Anika Wall (142) | asked May 19 '09, 11:21 a.m.
I want to be able to reuse 3 custom attributes on 4 different work items.

Attributes: Tower, Domain and Application Name

I wan them to use the same data storage location in DB2 so that I can pull all 4 work items into queries and display the values of these 3 fields for every work item type in only 3 columns (1 for each attribute).

The problem I am having now is that I have added these 3 fields individually on all 4 work items, but when I run queries I have to add 12 columns to display the results across the work items because the attributes are really 12 different attributes stored in DB2.

Is this possible?

2 answers



permanent link
Marcel Bihr, Jazz Work Item team (1.4k) | answered May 20 '09, 3:40 a.m.
JAZZ DEVELOPER
Hi Anika
You can create the custom attributes once for a type and then reuse it for the others. In 2.0 there is configuration UI for that, in 1.0.1 not yet (you can do it in the specification source using the same id and type for the custom attributes).

Regards

Marcel
Jazz Work Item team

permanent link
Patrick Streule (4.9k21) | answered May 21 '09, 6:54 a.m.
JAZZ DEVELOPER
I want to be able to reuse 3 custom attributes on 4 different work
items.

Attributes: Tower, Domain and Application Name

I wan them to use the same data storage location in DB2 so that I can
pull all 4 work items into queries and display the values of these 3
fields for every work item type in only 3 columns (1 for each
attribute).

The problem I am having now is that I have added these 3 fields
individually on all 4 work items, but when I run queries I have to
add 12 columns to display the results across the work items because
the attributes are really 12 different attributes stored in DB2.

Is this possible?

Yes, you can reuse attributes. In the configuration dialog where you can
add attributes to a work item type, there is an option 'Reuse Existing
Attribute', which allows you to associate a single attribute with more
than one work item type.

--
Regards,
Patrick
Jazz Work Item 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.