Hi Harry, welcome to the Community!
Automated branch merging is not available in Bitbucket Cloud, but we already have a Feature request for that at Automatic branch merging for Bitbucket Cloud.
However, for the second part of your plan, you could try using webhooks. Webhooks will allow you to make requests to your server whenever certain events occur in Bitbucket Cloud, you can read more about them at Manage webhooks.
If you're looking for a CI/CD solution you can also have a look at Bitbucket Pipelines. For more info, I'd recommend you also read Get started with Bitbucket Pipelines and Build, test and deploy with Pipelines.
Hope that helps!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.