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

0 votes
Accepted answer

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,893 views 7 10
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