Sorting work item queries based on custom priorities (enumerations) not working
I've added custom priorities to work items, so now we have: Low; Low-Med; Medium; Med-High; High; and XHigh. I've ordered the literals using the web interface so that they're displayed in the order I want them. This was all done in: Project Areas->Work Items->Enumerations->Priority
I'm able to assign the priorities to work items, and the icons show up as expected.
However, when I sort a query by priority the order newly created priorities are not sorted properly. The newly created priorities rise to the top. How do I get the query to sort the priorities properly?
We're using RTC V4.0, Rational Jazz Team Server 4.0.1, and CCM 4.0.1
I'm able to assign the priorities to work items, and the icons show up as expected.
However, when I sort a query by priority the order newly created priorities are not sorted properly. The newly created priorities rise to the top. How do I get the query to sort the priorities properly?
We're using RTC V4.0, Rational Jazz Team Server 4.0.1, and CCM 4.0.1
One answer
The sorting in the query by an enumeration is based on the literal id rather than the name or the order you defined. There are some same discussion in the forum:
https://jazz.net/forum/questions/146301/sorting-by-custom-enumeration-name
https://jazz.net/forum/questions/81998/how-the-severity-enumeration-is-set-in-a-query
And an enhancement has been opened to address the issue:
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=175676
https://jazz.net/forum/questions/146301/sorting-by-custom-enumeration-name
https://jazz.net/forum/questions/81998/how-the-severity-enumeration-is-set-in-a-query
And an enhancement has been opened to address the issue:
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=175676