Provide global setting for enabling auto-unapprove for all repos

Issue #41 resolved
Former user created an issue

Situation: Since the functionality for the auto-unapprove plugin has to be enabled for each repository in Bitbucket, and since we have a policy that repos are created centrally, this increases the effort to create a repo significantly. In addition it creates an enormous overhead to activate the plugin for several hundred repos that already exist in our Bitbucket instance.

Remediation / suggestion: Please provide a global setting for the plugin that enables the auto-unapprove functionality for all existing and new repos by default.

Alternative solution: In case that is not possible, it would also help if we could enable the functionality on a project level. We have - obviously - far less projects than repos and this way we could at least reduce the effort to a bearable amount.

In case you need any more info, please contact me!

Thank you very much in advance,

Julius Blank

Comments (4)

  1. Kristy Hughes

    As of 4.1.0, users are able to configure the auto-unapprove plugin at a project or global level. Projects and repositories can override their inherited setting to configure their own settings.

  2. Charlie Pikscher

    This is AWESOME, thanks!

    Is it possible to control this via the REST API? /rest/api/1.0/admin/pull-requests/{scmId}, for example.

    Edit: It is available via rest/auto-unapprove/1.0/settings – neat!

  3. Log in to comment