Detect Bitbucket Premium

Hi

Is there a way to detect if the workspace an app is installed into is a premium workspace?
The Premium edition allows you to enforce merge checks, and it affects if the app can merge pull requests or not.
So, it would be nice if we can detect that and let the customer known.

An alternative would be to have an API to check the merge check full-fulfillment: API for PullRequest Checks

3 Likes