Can Stash Pull Requests auto merge when all conditions are satisfied?

I'm currently setting up Bamboo and Stash to work so that master is never broken.  Developers work on short-lived feature/bugfix branches, which Bamboo automatically builds when they are pushed to Stash.  

In Stash, the merge criteria is set to require a clean build and no outstandig issues.  The problem is that the merge does not take place until someone manually pushes the merge button, and this can be a while unless there's someone continually monitoring a pull request queue.  Is there a way to automate this so that the merge takes place as soon as the conditions are satisfied?

1 answer

0 votes
Adam Ahmed Atlassian Team Jan 07, 2015

A great idea! There isn't anything for that currently, but it'd be awesome to see a plugin that does it. I'd wager there's a lot of nuance to think about once you really get into it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

....sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

186 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you