question

TobySteele-2104 avatar image
0 Votes"
TobySteele-2104 asked ·

If I return the top 1 is it always going to be the latest one completed? `az devops pr list --top 1 --status completed`

---I tried to find a devops tag but that tag search control has proven to be worthless almost. ---

Since I am only trying to get one record, can I count on it being the latest created one? or the latest completed one?


az devops pr list --top 1 --status completed

I have heard I couldnt rely on the sort by default but that was always in the context of multiple items returned. In the above query I am only wanting one of them. Does the default sort do so by created date or by status_change?

thanks

not-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered ·

Devops / TFS is not currently supported here on QnA. The product group for Azure DevOps / TFS actively monitors questions over at
https://developercommunity.visualstudio.com/spaces/21/index.html
https://developercommunity.visualstudio.com/spaces/22/index.html

--please don't forget to Accept as answer if the reply is helpful--




·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TobySteele-2104 avatar image
0 Votes"
TobySteele-2104 answered ·

Hi patrick,

thanks for the feedback. One those links I dont see a way to ask a question and instead it seems to just be for product bugs/feature requests. I'm looking for the forums to post a question to with a response from MS personnel like I used to do for the MSDN forums...has always come with the VS subscription.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.