It's all about the answers!

Ask a question

How to create a custom attribute that automatically displays a list of all Components in the workspace?


Kristina Florea (3323) | asked Dec 12 '13, 5:10 a.m.
When creating a new work item (any type) I want to be able to choose a component (or more) from a components list.
That means I want to have a custom attribute - Components - that is automatically filled with all the available components in the project area/workspace.

Does RTC provide me this option? If yes, how?

P.S. I do not want an enumeration

Accepted answer


permanent link
Ralph Schoon (63.5k33646) | answered Dec 12 '13, 8:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Kristina,

please see https://rsjazz.wordpress.com/2013/12/12/using-rtc-work-item-attributes-to-display-rtc-components-and-other-item-data/ for how to do that with the ItemList attribute type.
Kristina Florea selected this answer as the correct answer

Comments
Kristina Florea commented Dec 12 '13, 8:59 a.m.

great tip -- Thanks Ralph.

One other answer



permanent link
sam detweiler (12.5k6195201) | answered Dec 12 '13, 8:00 a.m.
edited Dec 12 '13, 9:03 a.m.
 RTC provides a limited set of attribute types.  None of them match what you need. the closest is 'item list', ....

edit: Ralph has great blog on how to do this

and what does 'component' mean? Source code component?

Comments
Kristina Florea commented Dec 12 '13, 8:58 a.m.

yes, source code component

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.