Configure Bitbucket Server Auto Unapprove Plugin at Project Level

Aaron Jensen August 31, 2017

How do I configure the Bitbucket Server Auto Unapprove Plugin at the project level? All the Pull requests settings from 4.12.x were moved to a new "Merge checks" setting and we can now configure those at the project level. How do we configure this project at the project level?

3 answers

0 votes
Charles Pikscher November 15, 2019

Version 4.1.0 lets you set this at the project and global settings!

Still trying to figure out if I can use the REST API to remove the setting from all repos so it is inherited.

Charles Pikscher November 15, 2019

Looks like a DELETE to rest/auto-unapprove/1.0/projects/{projectKey}/repos/{repositorySlug}/settings will remove the repo setting so it can inheirit from project or global.

0 votes
Charles Pikscher July 20, 2018

You can set this with the REST API:

/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests

Not super friendly, but it is script-able.

0 votes
Russ McFatter February 6, 2018

This is under Repository Settings (not the project settings) under Pull Requests / General.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events