Can not sort by state properly
It seems to be sorting by state do work for only defect and Task but not for Story or Epic.
If I sort by state, I still see Story or Epic is not in order. These work item types are some how got a priority of TYPE rather than state.
Is this working as design?
If so, how do we know what work item type has this behavior?
Thank you, in advance.
If I sort by state, I still see Story or Epic is not in order. These work item types are some how got a priority of TYPE rather than state.
Is this working as design?
If so, how do we know what work item type has this behavior?
Thank you, in advance.
One answer
Hi,
I just verified in RTC 3.0.1 and 4.0 web client that the behavior for queries is as expected if you edit the query to modify the sort order for state. So if you add "state" as a sorting column in the Result Layout --> Sort Order, the query will sort for state regardless of work item type.
But if you click on the "state" column in an already executed query, the sorting will actually take into account work item type. Apparently, plan items, execution items and "the rest" (impediments, retrospectives) are used as groups, within which the states are sorted.
I share your observation that this is different behavior from clicking on e.g. priority column. If it bothers you a lot, please file an Enhancement Request against RTC.
A workaround would be to not use the click on state column for sorting but instead edit the query, add state as a sorting column. Another workaround is to use queries which filter only work items types that are considered as a group for sorting (i.e. task + defect ; story + epic)
Does this answer your question?
- Arne
I just verified in RTC 3.0.1 and 4.0 web client that the behavior for queries is as expected if you edit the query to modify the sort order for state. So if you add "state" as a sorting column in the Result Layout --> Sort Order, the query will sort for state regardless of work item type.
But if you click on the "state" column in an already executed query, the sorting will actually take into account work item type. Apparently, plan items, execution items and "the rest" (impediments, retrospectives) are used as groups, within which the states are sorted.
I share your observation that this is different behavior from clicking on e.g. priority column. If it bothers you a lot, please file an Enhancement Request against RTC.
A workaround would be to not use the click on state column for sorting but instead edit the query, add state as a sorting column. Another workaround is to use queries which filter only work items types that are considered as a group for sorting (i.e. task + defect ; story + epic)
Does this answer your question?
- Arne