문제

WorkItemCollection workItemCollection = workItemStore.Query(
                " SELECT [System.Id], [System.WorkItemType]," +
                " [System.State], [System.AssignedTo], [System.Title] " +
                " FROM WorkItems " +
                " WHERE [System.TeamProject] = '" + tfsProject.Name +
                "' ORDER BY [System.WorkItemType], [System.Id]");

There is a bug with using select * so I want to know where can I find a list of all the fields?

도움이 되었습니까?

해결책

TFS provides a command for this (and much more), witadmin. It is located in the Common7/IDE folder of your Visual Studio installation.

For listing fields, the command syntax should be:

witadmin listfields /collection:http://my.tfs.server/MyCollection

다른 팁

The full list of the fields can be found here

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top