I want to set branch protection to a repo's branch so that nobody can push code in that branch. I can do that with the webUI by going into repo setting and then going to 'branch protection' link but I am looking to do that with the api so that i can script it for automation.
Is there any way or support in api to achieve this task?
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot