It's all about the answers!

Ask a question

Is it possible to use "type" as an enumeration?


Carlos Isacovich (59112) | asked Jun 09 '22, 3:59 p.m.

I need to create an attribute whose content is one of the work item types defined in my EWM process (like Defect, Task, etc).

I want to define this attribute as an enumeration list.

Must I create an enumeration whose entries clone the work item types or may be is it possible to use an EWM internal value instead of a new enumeration?

 

Accepted answer


permanent link
Ralph Schoon (63.1k33646) | answered Jun 10 '22, 2:35 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 The work item type does not show up as enumeration. There is no type (Enumeration List) or anything comparable to bee found. It seems to be impossible to use the existing type information to create a custom attribute with the type as enumeration list. You would have to find a different way. E.g. define your own enumeration that mirrors the types.

Carlos Isacovich selected this answer as the correct answer

Comments
Carlos Isacovich commented Jun 10 '22, 10:55 a.m.
Thank you Ralph.
Of course, I've already created an enumeration with the work item types, but I wanted to confirm if there is a better approach,
Rgds

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.