Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unable to sort WI based on Status

I am using RTC 4.0.1 Eclipse Client and found that I am unable to sort work items based on Status,
or more precisely, the sort order is not the one I would expect.

Steps I used:
1.  Use any OOTB process template ( I tested with FMP or Scrum) and  create a new PA
2.  Create new Tasks, set it to different Statuses
3.  Create a Query to list all Tasks and choose Status to be displayed in Columns to Display
4.  Choose Status as Selected Sort Columns
5.  Run the query to see the Tasks, the list is not sorted as per the Status label

It seems that sort order is not using label, as I would expect.
Is this a defect?

1 vote



2 answers

Permanent link
No - enumerations are currently sorted based on value ID's and not labels.
This feature will be implemented with sort of enumeration should based on name rather than id (175676)

I can check the value id's by looking the Project Area source.
Example for the Resolution attribute:
(...)
            <resolution icon='processattachment:/workflow/reject.gif' id='r5' name='Invalid'/>
            <resolution icon='processattachment:/workflow/works.gif' id='r4' name='Works for Me'/>
            <resolution icon='processattachment:/workflow/wontdo.gif' id='r3' name='Works as Designed'/>
            <resolution icon='processattachment:/workflow/duplicate.gif' id='r2' name='Duplicate'/>
            <resolution icon='processattachment:/workflow/close.gif' id='r1' name='Fixed'/>
<resolution icon='processattachment:/workflow/unresolve.gif' id='r0' name='Unresolved'/>
            <resolution icon='processattachment:/workflow/close.gif' id='r8' name='Fixed Upstream'/>
(...)
which will result in this order:
<resolution icon='processattachment:/workflow/unresolve.gif' id='r0' name='Unresolved'/>
<resolution icon='processattachment:/workflow/close.gif' id='r1' name='Fixed'/>
<resolution icon='processattachment:/workflow/duplicate.gif' id='r2' name='Duplicate'/>
<resolution icon='processattachment:/workflow/wontdo.gif' id='r3' name='Works as Designed'/>
<resolution icon='processattachment:/workflow/works.gif' id='r4' name='Works for Me'/>
<resolution icon='processattachment:/workflow/reject.gif' id='r5' name='Invalid'/>
<resolution icon='processattachment:/workflow/close.gif' id='r8' name='Fixed Upstream'/>

1 vote


Permanent link
I have a similar problem related to the widgets. would like to see the chart showing inorder of the process flow and not

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,027

Question asked: Jan 28 '13, 5:41 a.m.

Question was seen: 5,259 times

Last updated: Jun 07 '16, 9:36 a.m.

Confirmation Cancel Confirm