I have a problem with closing pull requests in Azure DevOps on-premises when they contain multiple checks. For pull requests with many policies attached for changes or validator groups, when closing the pull request, I receive the following errors.
When trying to close a PR that includes many attached policies for builds, I get the error
“Operation failed: policy name must be succeed to update develop. (403)”,
and for code reviewers policies, I receive the error:
“Operation failed: Required reviewers policy needs 1 approvals but it only has 0. (403)”.
If I disable some policies, I can close the PR, but then the build validation does not trigger and CI doesn’t check code. Sample PRs that I had trouble with had around 80 attached checks. Disabling some of them allowed me to close the PR.
How can I verify why I cannot have a large number of build validations or code reviewers attached?
My version of Azure DevOps is 19.225.34309.2 (AzureDevOps2022.1).
Screen with sample error below:
enter image description here
enter image description here
I disable some policies in order to close PR. It is workaround. I would like to know what is a reason of that behaviour and how to repair it.
Mateusz Ples is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.