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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to restrict a deployment to be possible only from a specific branch using Bitbucket API?

Basically I want to be able to add the branch restriction shown in this article through Bitbucket REST API to automate the setup of new repositories:
https://bitbucket.org/blog/deployment-permissions-now-available-in-bitbucket-pipelines

Anyone who have done this before could share the details on how to achieve this?

2023-01-17_19-57.png

2 answers

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 18, 2023

Hi @silvr,

I'm afraid that this is not possible via API at the moment.

We have a feature request about this in our issue tracker:

You can add your vote (by selecting the Vote for this issue link) and leave a comment there to express your interest.

Kind regards,
Theodora

Thanks for the reply! I'll watch closely this issue.

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jan 20, 2023

You are very welcome, please feel free to reach out if you ever need anything else!

0 votes
Ulrich Kuhnhardt _IzymesCo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Jan 17, 2023

Suggest an answer

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

Atlassian Community Events