Configuring preconditions for code review

You can configure preconditions to further refine your review workflow. Also, to ensure that policies are enforced before the change sets are delivered. However, preconditions are not set for your product by default. But you can configure preconditions according to your product requirements.

Example

Category Operation Precondition Description
Work items Deliver (server) Require code review to be closed. For a code review enabled work item, code review must be closed before you deliver the change sets.
Work items Deliver (server) Require work item approval. For a code review enabled work item, a minimum number of code review approvals must be complete before you deliver the change sets. Code review approvals are considered for the type 'Review' only if the Approvals of type 'Review' must be code review approvals checkbox is selected. If this checkbox is not selected, only work item approvals are considered.