Looking for easy way to save/export bitbucket project or repository settings to use as a backup.
Tried below but that's not a known method
http://example.com/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings
Any help/suggestion is appreciated.
Hello Radhika,
According to the REST API docs there is no single endpoint to fetch or restore all settings.
Repo settings endpoints are divided up into different aspects such as
repo hooks:
You would probably need a script to fetch and 'backup' the settings you need to keep, same for restore.
Hope that helps,
Ulrich, // Izymes
Thanks for the response @Ulrich Kuhnhardt _IzymesCo_ I figured it's not there but worth a try asking the community.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.