It's all about the answers!

Ask a question

How to sort queried work items by text fields?


S S (141418) | asked Apr 09 '14, 10:10 a.m.
 Is there anyway to sort the list of work items that are returned by a query based on their text fields? i.e. if I have a custom work item with a text field that contains "Bob" and another of the same type that contains "Jim" and if I query on all instances of that custom work item, is there anyway to sort them in ascending or descending order based on the their text fields?

One answer



permanent link
Piotr Aniola (3.7k11738) | answered Apr 09 '14, 10:23 a.m.
edited Apr 09 '14, 10:25 a.m.
In the query you simply have the sort order section, where you can specify the text attribute.
I am attaching a screenshot from our Jazz.net public project area where there is a custom attribute APAR Number of type small string

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.