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

query result sorted on Story Points displays unexpected order

There are many recent posts and questions regarding the query result page sorting function. 

eg.

0 votes



2 answers

Permanent link
Also, if you've been bitten by added entries to complexity you'll recall that their ID are numeric strings.  Even when sorting those they don't order correctly (unless converted to integer values).

                <enumeration attributeTypeId="complexity" name="complexity">
                    <literal default="true" id="0" name="0 pts"/>
                    <literal id="1" name="1 pt"/>
                    <literal id="2" name="2 pts"/>
                    <literal id="3" name="3 pts"/>
                    <literal id="5" name="5 pts"/>
                    <literal id="8" name="8 pts"/>
                    <literal id="13" name="13 pts"/>
                    <literal id="20" name="20 pts"/>
                    <literal id="40" name="40 pts"/>
                    <literal id="100" name="100 pts"/>
                </enumeration>

sort alphabetically is: 

0
1
100
13
2
20
3
40
5
8


1 vote

Comments

Just hit this wall/obstacle/speedbump. Following links to see if there's a workaround.


Permanent link
 

This kind of issue is caused by sorting feature is sorting by id instead of name. 

0 votes

Comments

well, its really cause the sorting is alphabetical, and not numerical. Both id and name would produce improper sorting as compared to numerical.

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
× 72

Question asked: Jan 25 '13, 1:41 p.m.

Question was seen: 5,721 times

Last updated: Jul 30 '13, 10:35 a.m.

Confirmation Cancel Confirm