for testing new Bitbucket version I've cloned our production server and renamed it to "test". The problem is, I don't want to have production repos on this "test" instance because of security reasons, but as far I understood in order to remove all projects I need to remove associated repos first, every one by opening it and click "delete" button. I have around 100 repos, is there another way to automate/speed up it?
Forgive the advertising but you can do this with ScriptRunner for Bitbucket Server.
Please see this example which can be run in Admin -> ScriptRunner -> Script Console and will remove all repositories for a particular project and could easily be adapted to your needs.
Its worth checking out if you want to automate particular tasks in Bitbucket Server or customise your instance.
You can find out more from the documentation about how ScriptRunner for Bitbucket Server can help you.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
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