I have a question on WorKItemId's. I have a little winform app and I'm using wiql to get a WorkItemCollection.
string strTFSCollection = GetConfigSetting(ConfigSectionName, "TFSURI") + GetConfigSetting(ConfigSectionName, "TFSTeamProjectCollection");
TfsTeamProjectCollection prjCol = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(strTFSCollection));
WorkItemStore store = prjCol.GetService<WorkItemStore>();
string wiqlQuery = "SELECT [System.ID], [System.WorkItemType], [System.Title], [System.AssignedTo], [System.State] FROM WorkItems WHERE [System.TeamProject] = 'CorpInc'";
wiqlQuery += " AND [System.AreaPath] = '" + projectName + "'" + " AND [State] = 'New' AND [System.WorkItemType] in ('Bug','User Story') ORDER BY [System.ID]";
WorkItemCollection witCollection = store.Query(wiqlQuery);
return witCollection;
Here is what I'm running from the server. My question is: the id's coming back from the server are 4 digit numbers, but the above query gives me a work item collection where the id's are up in the 37000 range. What's the story? Is there some internal id
that I need to grab?

KathyL