I administrate a Bitbucket server.
Is there a way to change the default settings when I create a new project or a new repo?
Actually, after creating a new project I always have to change the same settings. It would be helpful to change the default values but I couldn't see a way to do this.
Is this possible? Or could you recommand a plugin?
Hello Marco and welcome to the Community!
While creating projects within the GUI you will have to select your options upon creation. Your best option to create repos and projects without having to adjust the same settings over and over would be to use the REST API to create. The REST API will allow you to template scripts and pass this information through to Bitbucket allowing you to create a project with your defined requirements. I would start with the two endpoints to create and adjust your projects and scope out from there. Here are the endpoints:
I hope with using the REST API you’ll be able to automate or relieve some of the manual processes you’ve been having to do. If you do run into any issues with the REST API, please do let us know so we may assist with getting you up and running!
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.