Nir Rozen
Nir Rozen

Reputation: 19

Azure DevOps reorder work items in query result

Is there a way I can reorder work items from a query results as I would normally do with backlog work items?

I'm using the order of work items in the backlog to set the order of issues to address, I would like to use queries to view work items by certain criteria (cross-project) so the backlog board is not a good choice for me.

thank

Upvotes: 2

Views: 9685

Answers (3)

Dennis Poort
Dennis Poort

Reputation: 164

Old question but came across it.

It feels to me the question is that you want to drag/drop to change the stack rank of the work items in the results of a query, as you would be able to do in a Backlog.

If so, the short answer is that by my knowledge this is not possible.

Upvotes: 1

armstb01
armstb01

Reputation: 653

Once you have queried the results, and you have the table with your results in it, you can click the column header to sort the results . . . Once you Save the query, it seems to save the sort order that was selected in the results.

enter image description here

Upvotes: 0

Yang Shen - MSFT
Yang Shen - MSFT

Reputation: 1214

The description is little confusing, but if you just want to order your query result(according to the title of this thread) by specific condition, the wiql would be very helpful.

Add the Wiql Editor extension to your organization, then create a query with the other conditions you need, click the "Edit query wiql" and update the query wiql.

enter image description here

For information about wiql syntax, please check Syntax for the Work Item Query Language (WIQL), the order by would be the one you are looking for.

Upvotes: 2

Related Questions