azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

az boards query doesnt return results for query with tree of work items

Open imgdevlpr opened this issue 4 years ago • 11 comments

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug az boards query --id <ID> returns no items if the query is a tree of work items.

To Reproduce Create a query on ADO; save it as tree of work items; run the command and it should return nothing. Change the query to flat list of work items and rerun the same command; it will return the results.

Expected behavior AZ cli should return a flat list of work items regardless if the query is a tree or flat list of work items.

Environment summary az cli on windows 10

Additional context Add any other context about the problem here.

imgdevlpr avatar Mar 12 '20 01:03 imgdevlpr

devops

yonzhan avatar Mar 12 '20 11:03 yonzhan

@ishitam8 - It looks like as part of the pr - https://github.com/Azure/azure-devops-cli-extension/pull/954 , we fixed this and I see the same in code as well. However, it is not being reflected in the docs. It looks to be doc generation problem. Could you kindly verify and follow up on this?

geverghe avatar Apr 03 '20 15:04 geverghe

@kashishk-2001 - az boards query supports only flat queries and not the tree view. We had made the documentation update to reflect the same but it doesn't seem like the changes have been picked up.

geverghe avatar Apr 03 '20 15:04 geverghe

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @narula0781, @ashishonce, @romil07.

ghost avatar May 26 '20 18:05 ghost

@geverghe is non flat queries functionality planned?

iuooip avatar Sep 29 '20 23:09 iuooip

Looping in @narula0781, @ashishonce, @romil07 to provide feedback on the plan for flat quries.

geverghe avatar Sep 30 '20 09:09 geverghe

no more updates regarding tree of work items?

enachi avatar Jul 11 '22 15:07 enachi

Is there a roadmap to address this?

in-bharath avatar Sep 22 '22 19:09 in-bharath

@geverghe Any news? Thanks

leoandrea7 avatar Sep 21 '23 16:09 leoandrea7

I am circling back here. Are there any updates or a roadmap for this issue? I see this feature as important, since having the hierarchy in the results is important

fcrozetta avatar Feb 15 '24 14:02 fcrozetta

This also appears to be the same affect when querying for work items with direct links with this setup. I see @geverghe mentioned this only works on flat queries unfortunately

jontreynes avatar Feb 22 '24 20:02 jontreynes