I am using TFS and I am trying to get a list of bugs that are linked to any of the change sets in a list.
My team wont to get some metrics and the only way that we can track the list of bugs that we have worked on is related to the changesets made by any of our developers.
I can get the list of change sets with VS (How to get the list of all "Change Sets" of a user in TFS?) but I don't know how to search the bugs linked to any of those change sets.
You could use Rest API to handle this, Changesets - Get Changeset Work Items
It retrieves the work items associated with a particular changeset.
You also could do this from UI in work item, refer from Shayki Abramczyk's reply in this question.