Is there a TFS query macro for the current iteration?

Viewed 14068

Is there a way in TFS in VS2010 to specify that a particular iteration is the current one, and then return that for use in queries similar to the way @Project works? If not is there a way to do sub-queries in TFS work item queries?

5 Answers

I'm afraid that there is not such a macro. I personally just have a few "X in current iteration" team queries and then edit those queries to point to the new iteration path at the start of each iteration.

I have found that Telerik's free Work Item Manager provides an elegant solution to this problem.

Just define your queries as you usually would but leave out any filters relating to iterations (note that this also applies to areas). There is a treeview pane named 'Area/Iteration Filters' that will add extra, recursive filtering based on the iteration (or area) that you select there.

Note that if the pane is not visible then you can enable it via the View menu.

alt text

Related