A Java based Command Line Interface built using Apache Commons CLI, to download support zip from bitbucket server.
- Works only on Bitbucket Server. Support for Bitbucket Data Center is yet to be added.
- Bitbucket Server should be versioned at a minimum of 5.13.0.
- Latest version of Atlassian Troubleshooting and Support Tools plugin has to be installed (Not optional).
This internally makes use of bitbucket-supportzip-generator API and Apache Commons CLI.
Download the latest jar from the releases tab. Run the jar in any terminal.
java -jar bitbucket-support-generator-cli.jar -help
usage: BitbucketSupportZipCLI
-adminPwd <arg> Admin user password
-adminUser <arg> Admin user slug
-flattenUnzipDir Flatten unzipped dir from hierarchial to
flat structure
-gitServerUrl <arg> Bitbucket server url
-help Help
-showLogsDirInFileExplorer Open Unzipped dir in File Explorer
Sample usage :
java -jar bitbucket-suuportzip-generator-cli-0.0.2-SNAPSHOT.jar -gitServerUrl http://localhost:7990 -adminUser <admin-user> -adminPwd <admin-password> -showLogsDirInFileExplorer -flattenUnzipDir