It's all about the answers!

Ask a question

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

Carlos Isacovich (5718) | asked Jun 09, 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 (61.1k33643) | answered Jun 10, 2:35 a.m.

 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

Carlos Isacovich commented Jun 10, 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,

Your answer

Register or to post your answer.