TFS - Query to find list all epics containing work items in my current sprint

1.2k Views Asked by At

I have a list of user stories in my current sprint and I'm trying to get an organized list of all the associated epics for those items.

Some of these are directly parented by epics and some of them are grandparented. In both cases, I'd like to end up with just the list of epics.

1

There are 1 best solutions below

1
On BEST ANSWER

There isn't a way to query the epics directly which containing work items in the specific sprint if you didn't set the iteration path for the epics.

You can use the query type : Work items and direct links or Tree of work items to get the epics list if you have already set the iteration path for the epics. Reference below screenshot:

enter image description here