Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,110
Community Members
 
Community Events
168
Community Groups

Allow write permission for OAuth Consumer in Branch Restriction Workflow

Hello Everyone,

 

I have setup semantics using OAuth Consumer, everything is working fine. 

I do not want my team to commit to master branch by mistake, so want to restrict access to few people but semantic bot needs write access to create the tag.

How can I include OAuth consumer in the list?

Capture.PNG

1 answer

0 votes
Mark C Atlassian Team Sep 12, 2022

Hi @Viresh Mathad

Thank you for reaching out to the community.
Unfortunately, it's not possible to add an OAuth consumer to a branch restriction settings.
Only users or groups can be added there right now.

As a workaround, if you're using a bot Bitbucket Cloud account, I'd recommend adding the bot account in the branch permission setting and then using basic authentication (e.g. username and app password) when you use the bot account instead of the OAuth consumer.

Let me know if you have further questions.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events