Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to lock the release branch using API

Kube Net November 9, 2023

Hi,

We want to lock the release branch once it is deployed to production and no user should have access to make changes. Is there any bitbucket API to lock the release branch?

Please suggest.

 

1 answer

1 vote
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 9, 2023

Hi @Kube Net ,

You can use the branch restrictions APIs to achieve this.

Kube Net November 13, 2023

Hi, 

I tried with GET but got the below error. As I didn't have the token to use, I used the app password.

Error: Exceeded maxRedirects. Probably stuck in a redirect loop.

Kube Net November 16, 2023

Hi,

How to find the UUID of a user in Bitbucket.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events