Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

BitBucket workflow query

Harry Cameron
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 15, 2018
I'm looking at using BitBucket for my organisation and I have a query about the workflow, I was thinking of a system where a dev can create a branch called "fix-<issue number>" and when they commit their changes the branch is automatically merged with the master branch and the changes are pushed to the live server.

If they create a branch called "feature-<issue number>" when they commit their changes a pull request is opened and the changes are pushed to a test server, once the pull request is closed the changes are pushed to the live server.

Would this be possible, if so how would I go about implementing it?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 28, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events