How can I query work items and their linked changesets in TFS?
In TFS 2010 I have work items with linked changesets. I can generate a query that reports the work items I'm looking for. Now I want to do a query of Work Items and Direct Links that includes all the changesets linked to these work items. In the query editor I can't find any means to specify a changeset as the linked-to item. Are work-items the only output possible from a query? An option is to use the TFS API like the following snippet. var projectCollection = new TfsTeamProjectCollection( new Uri("http://localhost:8080/tfs"), new UICredentialsProvider()); projectCollection