i want to get all the users with there Iteration in a project.
Lets say Project 'Precient' has 9 distinct users with 20 iteration so i want distinct users with all the Iteration in the project WIQL C#
.it's related to the Question.
WIQL query to get all the team and the users in a Project?
but does not help me fully
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
It's not able to get users from Team via WIQL. WIQL is a work item query language which used to query for bugs, tasks, other types of work items. The return value should be work item.
You need use api as @Shamray provided to retrieve the users. The following blog also provided an example:
http://blogs.microsoft.co.il/shair/2012/05/20/tfs-api-part-44-vs11-teams-and-team-members/
You may get that through REST API or Net API. This is sample for Net API.
You may get all Iterations from Project root Iterations.