Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pushing back to master from a pipeline


The documentation here: implies that if I use an OauthConsumer I can write back to my master repo, even if permissions for the repo do not list anyone as have such permission.  Specifically: 

"If your repository has branch permissions enabled and you can’t commit back using the default configured HTTP origin, or you want to commit using a ‘Bot’ account or another authentication method, you have a few options. We recommend using OAuth above all other methods, for security and compatibility with the HTTP origin."

However, I've followed the instructions as outlined in this doc, and I still fail to write back to the repo.  It only works if I put "Everybody" as allowed to write directly to Master.  I can't put a specific user, as it's not actually a specific user (as far as I can tell) that is in fact doing the writing -- its the oauth "user", which isn't an option to specify.

Any thoughts?

1 answer

1 accepted

0 votes
Answer accepted

I'll answer my own question as a duplicate given this ticket I since found:

In this ticket someone suggests the documentation is incorrect/misleading, aka a "red herring" as they put it.

Which kind of makes sense really, but I do wish I could use the documented approach, or that Atlassian offers the a "best practice" approach to utilize.

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,741 views 10 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you