How do I view comments from an earlier code review in Team Foundation Service?

Simon White picture Simon White · Apr 22, 2013 · Viewed 13.8k times · Source

I'm using Microsoft's online Team Foundation Service with Visual Studio 2012 Premium.

I performed a code review for a colleague a couple of months ago, and now another code review has come through for the same project.

I want to be able to view the comments I made on the first code review to make sure everything has actioned. However, I can't find anywhere in Visual Studio or TFS that shows me the previous code review's comments.

Answer

Simon White picture Simon White · Apr 22, 2013

OK, I've found my answer by trial and error:

  1. In Visual Studio 2012 open the Team Explorer
  2. Under Work Items, click "New Query"
  3. Run a query to find the relevant code review item
  4. In the query results, double click the code review work item
  5. Click "Open Code Review in Team Explorer (top left)
  6. The code review will open in the Team Explorer panel