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?
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is under Repository Settings (not the project settings) under Pull Requests / General.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.