In Stash, how is it possible to cherry pick a change onto a branch that the developer doesn't have direct write access to?

In our configuration, we have:

master ----> (read access)
    develop ----> (read access)
         support/1.0.x ----> (read, write access)

the developer creates a remote off of support/1.0.x and when they are complete does a pull request. However, the change will need to be propagated to develop, where they don't have write access. Before we adopted Stash, they would simply cherry pick onto develop. However, since they don't have write access to develop, how can they propagate the change to develop without making a new pull request?

2 answers

1 accepted

0 votes
Accepted answer

With or without a pull request, the person who propagates the change to develop needs to have write access to that branch. There is (by design) no trick that would allow a user who does not have write access to a branch to get changes into that branch.

You can either restrict write access to a certain group of people by setting the appropiate branch permissions or you can enable write access to all the users. (Depends on how many people you have and how much you trust them.)

With or without a pull request, the person who propagates the change to develop needs to have write access to that branch. There is (by design) no trick that would allow a user who does not have write access to a branch to get changes into that branch.

You can either restrict write access to a certain group of people by setting the appropiate branch permissions or you can enable write access to all the users. (Depends on how many people you have and how much you trust them.)

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 ...

216 views 3 7
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