Approve my Pull Request

I have a repository in wich my 'master' branch is modifiable only by 'Pull Request'. Those requests have to be approved by one reviewer.

I'm the only reviewer assigned to the branch and when i open a pull request is impossible for me to approve my own request.

Is there any configuration that allows me to do so?

1 answer

1 accepted

Hi Bruno,

I'm afraid there isn't currently a setting in Stash to allow this behaviour, and currently there are no plans to implement such a feature.

You might be able to send a REST request to the '/approve' endpoint as yourself, to trick Stash. Although this is unexpected behaviour and may change/break in subsequent versions.

If this becomes a serious problem you can raise a feature/bug and we can think about it some more.


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,035 views 1 5
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