I am using TFS 2015 update3.(On-Prem)
We are using code review in Microsoft Visual Studio professional 2015(Team Explorer/My work) and other through Web Access. But my questions are:
1) For Audit purpose I suppose to generate report for Code Reviews from Collection/project level. Is it possible?
2) How to mandate/restrict Code review to be setup before Merge/branch occurred in TFS 2015. If there is a way, can you provide the steps?
3)If there is a way to setup code review before merge how setup the process?
Thanks,
GSR
For the code review report, this is probably going to be hard. Not all of the information you want is in the workflow, so you can't really report based on that. Reference this similar thread.
Basically there isn't a way to mandate/restrict Code review to be setup before Merge/branch unless develop your own custom policy (Reference this article).
However you can set the policy to enforce code review before check-in. Thus all the changes will be force reviewed before merge/branch.
To enforce code review before check-in you can install the extension on your Visual Studio client:Colin's ALM Checkin Policies VS 2015 and VSO.
To add a check-in policy: