Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Mar 27, 2026

Bitbucket (30 commands)

Bitbucket requires separate authentication. Run twg login --product bitbucket on first use.

Repositories

1
2
twg bitbucket repo query --query "twg" --workspace atlassian
twg bitbucket repo get --workspace atlassian --repo twg-cli

Pull Requests

1
2
twg bitbucket pull-requests query --scope me --workspace atlassian --repo twg-cli
twg bitbucket pull-requests get 42 --workspace atlassian --repo twg-cli
twg bitbucket pull-requests create --workspace atlassian --repo twg-cli
twg bitbucket pull-requests approve / unapprove / merge / decline
twg bitbucket pull-requests comment create / update / delete / resolve
twg bitbucket pull-requests task create / update / delete / resolve

Branches, Commits & Pipelines

1
2
twg bitbucket branch query --workspace atlassian --repo twg-cli
twg bitbucket branch create --workspace atlassian --repo twg-cli
twg bitbucket commit query --workspace atlassian --repo twg-cli
twg bitbucket pipeline query --workspace atlassian --repo twg-cli
twg bitbucket deployment query --workspace atlassian --repo twg-cli

Workspaces

1
2
twg bitbucket workspace get --workspace atlassian
twg bitbucket workspace member query --workspace atlassian

Rate this page: