It's all about the answers!

Ask a question

Filtering "Priority" based on work item type


Claudia Callegari (44439771) | asked Oct 12 '10, 11:28 a.m.
Background: RTC 2.0.0.2

I need to populate the "Priority" field depending on the work item type (e.g. Critical, High, Medium, Low for Defects, and just High, Medium, Low for another work item type).
Of course, I would not like to split the Priority field definition just for that, as it would also affect other areas (e.g. Work Items by priority report).
I thought about using value providers, more specific the value set providers to filter the priority enumeration. But based on documentation, it seems you can filter enumerations based on other enumeration fields, and I do not know if this is the case.
So my questions are:

1- Is the "type" built-in field a kind of "enumeration"? If so, how can I know the id and the literals?
2- If the "type" built-in field is not an enumeration, is there any way to accomplish what I need?

Thanks in advance,
-- Claudia Callegari

One answer



permanent link
Kim Soederhamn (1.5k24247) | answered Oct 26 '10, 10:03 a.m.
Background: RTC 2.0.0.2

I need to populate the "Priority" field depending on the work item type (e.g. Critical, High, Medium, Low for Defects, and just High, Medium, Low for another work item type).
Of course, I would not like to split the Priority field definition just for that, as it would also affect other areas (e.g. Work Items by priority report).
I thought about using value providers, more specific the value set providers to filter the priority enumeration. But based on documentation, it seems you can filter enumerations based on other enumeration fields, and I do not know if this is the case.
So my questions are:

1- Is the "type" built-in field a kind of "enumeration"? If so, how can I know the id and the literals?
2- If the "type" built-in field is not an enumeration, is there any way to accomplish what I need?

Thanks in advance,
-- Claudia Callegari


Dependnet enumerations will be available in 3.0

https://jazz.net/downloads/rational-team-concert/milestones/3.0M4?p=news

In any case you could also code this with a precondition

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.