English 中文(简体)
TFS 2008, Conchango Scrum For Team Systems, and Work Item Queries
原标题:

We are using the first version of Scrum for team system in TFS 2008. What I m trying to do is write a query to get all sprint backlog items in the current active sprint. I d like to use the sprint start and end dates around the @Today param to get the list.

something like this:

Team Project = @Project
AND Sprint Start <= @Today
AND Sprint End >= @Today

This query returns only the Sprint. I want all the sprint backlog items. I almost need to be able to do a subquery

Team Project = @Project
AND Sprint Number IN (Sprint Start <= @Today AND Sprint End >= @Today)

Anyone have any ideas? Right now I just have

Team Project = @Project
AND Sprint Number <= 12

and I really hate the idea of having to change the number across all my queries every time we start a new sprint.

Thanks

最佳回答

I have been trying to find a more elegant solution myself. One convulted way is to add a custom field to the Sprint Backlog Item type called "CurrentSprintEndDate", and update it thru a custom event handler that will change this field when the item s iteration path field changes. The you could write similar queries as you were doing above agains that field such as "CurrentSprintEndDate > @Today".

But that is a lot fo work for something that would seemingly be simple.

问题回答

暂无回答




相关问题
Why not use TFS as a build / CI solution?

Currently our build solution is set up using TFS + MS Build scripts. TFS is also being used as a CI server. I ve seen several posts on this site telling people about other CI solutions. Are there ...

Get files from TFS under Linux [closed]

is there a free (command line) tool for linux which with I can get all files from a TFS-Repository (no Check in / Check out required - only get actual version)?

upgrading tfs 2008 sp1 to use sql server 2008

I have an instance of tfs 2008 supported by sql server 2005. I want to change the sql server machine by doing a restore based move. I also want to change the version of sql server to 2008. I know ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

TFSReg in 2010 Beta 2?

does anybody know what is the equivalent of the TFSReg.exe command-line tool in 2010 Beta 2? I cannot find it anywhere, I searched the entire Program Files tree. Was it renamed? Moved? Replaced by ...

热门标签