I'm trying to create a query that give me a list of all my assigned items + all parents (until root parent).
Assume following items in tfs:
- Feature 1
-- Product Back Log Item 1-1
--- Task 1-1-1
--- Task 1-1-2 (assigned to me)
--- Task 1-1-3
-- Product Back Log Item 1-2
--- Task 1-2-1 (assigned to me)
--- Task 1-2-2
--- Task 1-2-3
-- Product Back Log Item 1-3
--- Task 1-3-1
--- Task 1-3-2
--- Task 1-3-3
- Feature 2
-- Product Back Log Item 2-1
--- Task 2-1-1
--- Task 2-1-2
--- Task 2-1-3
- Feature 3
-- Product Back Log Item 3-1
--- Task 3-1-1
--- Task 3-1-2
--- Task 3-1-3 (assigned to me)
How can i write a query that results me following output:
- Feature 1
-- Product Back Log Item 1-1
--- Task 1-1-2 (assigned to me)
-- Product Back Log Item 1-2
--- Task 1-2-1 (assigned to me)
- Feature 3
-- Product Back Log Item 3-1
--- Task 3-1-3 (assigned to me)
Is this possible in Visual Studio Team Services?
That is not too hard to do. Create a new query, set the type to "Tree of Workitems" and set the Child filter to include assigned to=@me
. Set the drop down on the bottom right to: "match linked work item first".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With