質問

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