Reputation: 6076
We have VSTS pull requests (PR's) set up to require 2 reviewers before the request can complete.
This scenario happened today:
We need the original approvals and rejections to be reset when the updated code comes in. Is this possible out of the box?
Upvotes: 3
Views: 1376
Reputation: 23976
The option you want now exists. (I believe it was added sometime after you posted the question.) Under the branch policies, check the box labeled "Reset code reviewer votes when there are new changes." See documentation here
So far as I know this resets all votes, regardless of whether they were acceptances or rejections. So in cases where an optional reviewer rejected the previous version, there's a bit of a risk that someone might then complete the pull request before that reviewer verifies that their reason for rejection was adequately addressed.
Upvotes: 1
Reputation: 33698
There isn’t the feature of resetting feedback (approve and reject) when code updated.
The workaround of your requirement is that you can require specific reviewers to review code.
After that, that user just review code of pull request after others have reviewed the code (all approve).
I submit a user voice here that you can vote. Pull request: rest feedback of related active pull request after code changes (push new changes)
Upvotes: 0