We have 4 Team Project Collections with a dozen-or-so Team Projects each. We've started using the integrated Code Review system, and request reviews across those Collections and Projects.
Is there an easy way to find all Code Reviews you're involved in, across Collections or at least across Projects in a Collection? I'd prefer a way to do it in the Team Explorer inside Visual Studio, but have access to the web portal as well. I'd already be happy if I could search within a Collection, if it's not possible to do it across them.
I've carefully review the "My Work" section of the Team Explorer, and also closed the sln
to try to force the context of the Explorer to the entire Collection. No dice: the "My Work" header still shows the actual Project in a dropdown.
I've tried to create a custom "Query", but am not sure how to proceed. The query that is generated has a clause to filter on Team Project = @Project
, but I deleted that leaving me with basically this query:
Work Item Type = Code Review Request
I've left out State <> Closed
for testing purposes, and I'd create a seperate query (I think) for work item type Code Review Response
, but before I go there: the above query seems to give only reviews for the currently selected Team Project. Additionally, upon saving it, I get presented with a dialog that wants me to save the query inside a specific Project, further suggesting that it's still project-specific.
I'm using TFS 2013 but we tend to upgrade whenever it's useful so if there's upcoming features in newer version that solve this I'd be happy to hear about them.
Bottom line: how to get an overview of all your Code Reviews on your TFS server?
On VS 2015, Go to Team Explorer Home > Click on Work Items ... > Select New Query > Select "Reviewed By" in the Field column and add the related username in the Value field and run the query. You will see all the Code reviews you have been a part.