Forums

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

Set "checks before a merge" with a REST API

robin.bruneel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2019

2 answers

1 vote
Marty
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2019

Hi Robin,

I am not on the Bitbucket team, but I will try to help.

I don't think this API endpoint provides the full functionality available via the UI, but it will get you some of the way there: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/branch-restrictions

I hope that helps!

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2019

Hi Robin, welcome to the Community!

All of our documentation regarding REST API is listed here. 

For questions related to REST API, I'd recommend you to go to our Developer Community, the audience there is more familiar with those topics and you'll have more chances to get the response you need.

Best regards,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events