-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Labels
Description
Environment
Node version: 18.15.0
Npm version: 9.5.0
OS and version: both windows 11 (current) and linux (ubuntu current LTS)
azure-devops-node-api version: 10.2.2
Issue Description
Updating reviewer vote has no effect via node API.
Expected behavior
Updating a reviewer vote to 0 should reset the vote in the pull request for a given reviewer.
Actual behavior
No effect on reviewer vote status after performing vote reset REST call.
Steps to reproduce
- Create an ADO PR
- Have an "Approved" reviewer in that PR
- Use rest API to attempt to update that reviewer's vote to 0, using
updatePullRequestReviewer
- Observer that REST call completes successfully, but vote status will not have been reset (will still be "Approved")
Logs
Can provide MSFT internal pipeline agent logs upon request.