Skip to main content
Bitbucket logo

Bitbucket

Manage Bitbucket: repositories, pull requests, commits, pipelines, issues. Exposes 34 actions covering the full API surface the agent needs - read and write.

What it can do

MethodWhat it does
bitbucket_workspaces_listList workspaces accessible to authenticated user - GET /workspaces.
bitbucket_workspace_getGet workspace details - GET /workspaces/{workspace}.
bitbucket_workspace_updateUpdate workspace - PATCH /workspaces/{workspace}.
bitbucket_repositories_listList repositories in a workspace - GET /repositories/{workspace}.
bitbucket_repository_getGet repository details - GET /repositories/{workspace}/{repo_slug}.
bitbucket_repository_createCreate a new repository - POST /repositories/{workspace}.
bitbucket_repository_updateUpdate repository - PUT /repositories/{workspace}/{repo_slug}.
bitbucket_repository_deleteDelete a repository - DELETE /repositories/{workspace}/{repo_slug}.
bitbucket_repository_forkFork a repository - POST /repositories/{workspace}/{repo_slug}/forks.
bitbucket_repository_clone_linksGet repository clone links (git/ssh URLs) - GET /repositories/{workspace}/{repo_slug}.
bitbucket_commits_listList commits in a repository - GET /repositories/{workspace}/{repo_slug}/commits.
bitbucket_commit_getGet commit details - GET /repositories/{workspace}/{repo_slug}/commit/{hash}.
bitbucket_branches_listList branches in a repository - GET /repositories/{workspace}/{repo_slug}/refs/branches.
bitbucket_branch_getGet branch details - GET /repositories/{workspace}/{repo_slug}/refs/branches/{name}.
bitbucket_branch_createCreate a new branch - POST /repositories/{workspace}/{repo_slug}/refs/branches.
bitbucket_branch_deleteDelete a branch - DELETE /repositories/{workspace}/{repo_slug}/refs/branches/{name}.
bitbucket_pull_requests_listList pull requests in a repository - GET /repositories/{workspace}/{repo_slug}/pullrequests.
bitbucket_pull_request_getGet pull request details - GET /repositories/{workspace}/{repo_slug}/pullrequests/{id}.
bitbucket_pull_request_createCreate a pull request - POST /repositories/{workspace}/{repo_slug}/pullrequests.
bitbucket_pull_request_updateUpdate a pull request - PUT /repositories/{workspace}/{repo_slug}/pullrequests/{id}.
bitbucket_pull_request_mergeMerge a pull request - POST /repositories/{workspace}/{repo_slug}/pullrequests/{id}/merge.
bitbucket_pull_request_declineDecline a pull request - POST /repositories/{workspace}/{repo_slug}/pullrequests/{id}/decline.
bitbucket_pull_request_comment_createCreate a comment on a pull request - POST /repositories/{workspace}/{repo_slug}/pullrequests/{id}/comments.
bitbucket_pull_request_comments_listList comments on a pull request - GET /repositories/{workspace}/{repo_slug}/pullrequests/{id}/comments.
bitbucket_issues_listList issues in a repository - GET /repositories/{workspace}/{repo_slug}/issues.
bitbucket_issue_getGet issue details - GET /repositories/{workspace}/{repo_slug}/issues/{id}.
bitbucket_issue_createCreate an issue - POST /repositories/{workspace}/{repo_slug}/issues.
bitbucket_issue_updateUpdate an issue - PUT /repositories/{workspace}/{repo_slug}/issues/{id}.
bitbucket_issue_deleteDelete an issue - DELETE /repositories/{workspace}/{repo_slug}/issues/{id}.
bitbucket_pipelines_listList pipelines in a repository - GET /repositories/{workspace}/{repo_slug}/pipelines.
bitbucket_pipeline_getGet pipeline details - GET /repositories/{workspace}/{repo_slug}/pipelines/{uuid}.
bitbucket_pipeline_triggerTrigger a pipeline - POST /repositories/{workspace}/{repo_slug}/pipelines.
bitbucket_deployments_listList deployments in a repository - GET /repositories/{workspace}/{repo_slug}/deployments.
bitbucket_deployment_getGet deployment details - GET /repositories/{workspace}/{repo_slug}/deployments/{uuid}.

How to get credentials

This connector uses OAuth 2.0. In FlyMyAI, open the tool and click Connect - you'll be redirected to Bitbucket to authorize, then back to FlyMyAI. There is no API key to paste.

The OAuth app must be registered by FlyMyAI for this provider. If you see "connection not configured", the provider's client credentials are still being set up - check back shortly.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
(none)Connect via OAuth - nothing to paste.

Troubleshooting

  • 401 Unauthorized / 403 Forbidden - the OAuth connection expired or was revoked - reconnect.
  • 429 Too Many Requests - you hit the provider rate limit; retry after a short backoff.
  • Unexpected 4xx on writes - double-check required fields; the agent confirms before write actions.
We love our partners - FlyMy.AI builds with the best. Thanks, Bitbucket!