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

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