(1) Login to bitbucket.
(2) Logout bitbucket & remove saved credentials.
(3) Create New Repository.
bitbucket repo create -r -d "repo description" -p true -s git -i true -w true
(4) List repository associated with account.
(5) Get individual repository detail.
bitbucket repo detail -r
(6) Edit repository details.
bitbucket repo edit -a -r -d "repo description" -p true -s git -i true -w true -l
(7) Delete repository
bitbucket repo delete -a -r
(8) Fork repository
bitbucket repo fork -a -r -n -d "repo description" -p true -l
(9) List repository branches
bitbucket repo branch -a -r
(10) Get list of changeset
bitbucket repo changeset -a -r -l -s
(11) Get repository tags
bitbucket repo tag -a -r
(12) Get list of users repository shared with
bitbucket repo share -a -r
(13) Share repository with other users
bitbucket repo share-with -a -r -s -p
(14) Remove users access to repository
bitbucket repo share-remove -a -r -s
(15) Get repository revision details
bitbucket repo revision -a -r -R -p
(16) Get list of repository deployment keys
bitbucket deploykey-list -a -r
(17) Add new repository deployment key
bitbucket deploykey -a -r -k "Key" -l
(18) Edit existing repository deployment key
**bitbucket repo deploykey-edit -a -r -k "Key" -l
(19) Delete existing repository deployment key
bitbucket repo deploykey-delete -a -r -i
(20) Get list of issues
(21) Get individual issue details
(22) Get issue followers
(23) Export issue list to CSV file
bitbucket -a -r -l -s -k -p -R -x
Filtering parameters (Optional):
(24) Create new issue
bitbucket issue create -a -r -t -d -s -k -p -R -C -m -v
(25) Edit issue
bitbucket issue create -a -r -i -t -d -s -k -p -R -C -m -v
(26) Delete issue
bitbucket issue delete -a -r -i
(27) Get all comments for issue
bitbucket issue getcomment -a -r -i
(28) Add new comment for issue
bitbucket issue getcomment -a -r -i -c
(29) Get list of all ssh keys associated with users account
bitbucket sshkey -a
(30) Get individual sshkey from key id
bitbucket sshkey -a -i
(31) Add new ssh key to users account
bitbucket add -a -k "sshkey" -l
(32) Delete ssh key from account
bitbucket sshkey delete -a -i
(33) Get logged in user information
(34) Get logged in user privileges
(35) Get wiki page created for repository
bitbucket wiki get -a -r -p
(36) Post new wiki page for repositorys
bitbucket wiki get -a -r -p -c "wiki page content"
(37) Get list groups & respective members
(38) Add new member in group
bitbucket group member-add -a -n -m
(39) Delete member from group
bitbucket group member-delete -a -n -m
(40) Create new group
bitbucket group create -a -n -p
(41) Delete existing group
bitbucket group delete -a -n
(42) Get commit details from commit id
bitbucket commit detail -a -r -c
(43) Get comments for changeset
bitbucket commit detail -a -r -c
(44) Add new comment for changeset
bitbucket commit detail -a -r -c
(45) Delete comment for changeset
bitbucket commit detail -a -r -c -id