Set the current iteration in your queries

Set the current iteration in your queries

Rate This
  • Comments 5

On User Voice there is a request to be able to query on the current iteration. We have it on our backlog, but it won't ship it for Dev11.

However there is a workaround, found by Mark Michaelis, that you can use to avoid having to update all your work item queries if the team moves to the next sprint.

The idea of the workaround is the following

  1. Add a "Current" iteration node.
  2. Move all iterations that are current under this "Current" node.
  3. Work item queries filters on UNDER "Current"
  4. The query result will show all work items that have an iteration that is under the current node, which are exactly work items within the iterations you just have moved.

Thanks Mark for being so creative.

Ewald Hofman

Leave a Comment
  • Please add 7 and 1 and type the answer here:
  • Post
  • Thanks Mark and Ewald for the post....Btw Happy Birthday Ewald!!!

  • While not focused on the backlog item i.t.o. being able to query, Mattias Sköld released an extension at visualstudiogallery.msdn.microsoft.com/c597fa72-1f09-4d3c-a98a-b190fe5abd68 which helps you with the creation of new iterations, change of the current iteration and automatic update of team queries when changing the sprint.

    Ewald, hoping that you are having a phenomenal birthday :)

  • Does TFS 2013 address this issue?

  • John,

    Sorry this has not made it to the cut of TFS 2013.

    It is still high on our backlog, and we are considering it for one of our next releases.

    Ewald Hofman

  • Did this make it into TFS 2013 Update 2?

Page 1 of 1 (5 items)