Dev & Project Management
🪣 Bitbucket integration
Access levels: Read-only · Read + write · Full access · Verified
Dev & Project Management
Access levels: Read-only · Read + write · Full access · Verified
Connect Bitbucket once and every agent in your squad can work in it for you, with exactly as much access as you decide to give, and a receipt for every call it makes.
You can change an account's access level any time under Manage. It applies instantly, no re-authorization. If the connection ever expires, the card shows Reconnect; one click re-authorizes the same account with the same settings.
Multiple accounts: connect as many as you need (say, yours and a client's). One is primary. Agents use it unless a mission says otherwise.
The level you pick at connect time is enforced on our side for every agent call: an agent can never do more than the level allows, no matter what it's asked.
| Level | What it allows | |
|---|---|---|
| Read-only | Read account info and repos. | |
| Read + write | Read/write code, pull requests, and issues. | Recommended |
| Full access | Read/write code, manage PRs, administer settings. |
On top of the connection's level, every agent can be individually allowed, scoped down, or denied for this app from the Integrations page. Deny an agent and it doesn't even see the connection.
The 107 tools agents use in Bitbucket through Mission Control, and the lowest access level that includes each. Agents discover these themselves. You never have to name a tool; asking in plain language is enough.
| Tool | What it does | Access level |
|---|---|---|
Approve pull requestBITBUCKET_APPROVE_PULL_REQUEST | Approve a pull request as the authenticated user. | Read + write, Full access |
Browse repository pathBITBUCKET_BROWSE_REPOSITORY_PATH | Retrieve content for a file path or browse directory contents at a specified revision in a Bitbucket repository. | All levels |
Create branchBITBUCKET_CREATE_BRANCH | Creates a new branch in a Bitbucket repository from a target commit hash; the branch name must be unique, adhere to Bitbucket's naming conventions, and not include the 'refs/heads/' prefix. | Read + write, Full access |
Create issueBITBUCKET_CREATE_ISSUE | Creates a new issue in a Bitbucket repository, setting the authenticated user as reporter; ensures assignee (if provided) has repository access, and that any specified milestone, version, or component IDs exist. | Read + write, Full access |
Create issue commentBITBUCKET_CREATE_ISSUE_COMMENT | Adds a new comment with markdown support to an existing Bitbucket issue. | Read + write, Full access |
Create pull requestBITBUCKET_CREATE_PULL_REQUEST | Creates a new pull request in a specified Bitbucket repository, ensuring the source branch exists and is distinct from the (optional) destination branch. | Read + write, Full access |
Create pull request commentBITBUCKET_CREATE_PULL_REQUEST_COMMENT | Creates a new comment on a Bitbucket pull request. | Read + write, Full access |
Create repositories commits2BITBUCKET_CREATE_REPOSITORIES_COMMITS2 | List commits from a revision using POST method. | All levels |
Create repositories commit reports annotationsBITBUCKET_CREATE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONS | Adds multiple annotations to a commit report in bulk. | Read + write, Full access |
Create repositoryBITBUCKET_CREATE_REPOSITORY | Creates a new Bitbucket 'git' repository in a specified workspace, defaulting to the workspace's oldest project if project_key is not provided. | Read + write, Full access |
Create snippet commentBITBUCKET_CREATE_SNIPPET_COMMENT | Posts a new top-level comment or a threaded reply to an existing comment on a specified Bitbucket snippet. | Read + write, Full access |
Create teams pipelines config variablesBITBUCKET_CREATE_TEAMS_PIPELINES_CONFIG_VARIABLES | Creates a team-level pipeline configuration variable in Bitbucket. | Read + write, Full access |
Create users pipelines config variablesBITBUCKET_CREATE_USERS_PIPELINES_CONFIG_VARIABLES | Creates a user-level pipeline variable for Bitbucket pipelines. | Read + write, Full access |
Delete commit commentBITBUCKET_DELETE_COMMIT_COMMENT | Permanently deletes a specific comment on a commit. | Full access |
Delete issueBITBUCKET_DELETE_ISSUE | Permanently deletes a specific issue, identified by its issue_id, from the repository specified by repo_slug within the given workspace. | Full access |
Delete pull request commentBITBUCKET_DELETE_PULL_REQUEST_COMMENT | Permanently deletes a specific pull request comment (top-level, inline, or threaded reply). | Full access |
Delete repositories commit reports annotationsBITBUCKET_DELETE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONS | Deletes a single annotation matching the provided ID from a commit report. | Full access |
Delete repositoryBITBUCKET_DELETE_REPOSITORY | Permanently deletes a specified Bitbucket repository; this action is irreversible and does not affect forks. | Full access |
Delete snippets watchBITBUCKET_DELETE_SNIPPETS_WATCH | Stops watching a specific snippet. Use when you want to unsubscribe from notifications for a snippet. | Full access |
Delete user pipeline variableBITBUCKET_DELETE_USER_PIPELINE_VARIABLE | Permanently deletes a user-level pipeline configuration variable identified by its UUID. | Full access |
Get branchBITBUCKET_GET_BRANCH | Retrieves detailed information about a specific branch in a Bitbucket repository. | All levels |
Get commit build statusBITBUCKET_GET_COMMIT_BUILD_STATUS | Get a specific build status for a commit in Bitbucket. | All levels |
Get commit changesBITBUCKET_GET_COMMIT_CHANGES | Retrieve a page of changes made in a specified commit, showing all changed files with their change statistics (lines added/removed, status). | All levels |
Get commit commentBITBUCKET_GET_COMMIT_COMMENT | Retrieves a specific comment from a commit by its ID. | All levels |
Get commit diffBITBUCKET_GET_COMMIT_DIFF | Retrieve the unified diff between two provided revisions or for a single commit in a Bitbucket repository. | All levels |
Get current user2BITBUCKET_GET_CURRENT_USER2 | Retrieve complete profile information for the currently authenticated Bitbucket user. | All levels |
Get deployment environment variablesBITBUCKET_GET_DEPLOYMENT_ENVIRONMENT_VARIABLES | Retrieves deployment environment level variables for a specific Bitbucket repository environment. | All levels |
Get file from repositoryBITBUCKET_GET_FILE_FROM_REPOSITORY | Retrieves a specific file's content from a Bitbucket repository at a given commit (hash, branch, or tag), failing if the file path is invalid for that commit. | All levels |
Get hook eventsBITBUCKET_GET_HOOK_EVENTS | Retrieves a paginated list of all valid webhook events for a specified entity type (repository or workspace). | All levels |
Get openid configurationBITBUCKET_GET_OPENID_CONFIGURATION | Retrieves the OpenID Connect discovery configuration for Bitbucket Pipelines OIDC. | All levels |
Get pull requestBITBUCKET_GET_PULL_REQUEST | Get a single pull request by ID with complete details. | All levels |
Get pull request commentBITBUCKET_GET_PULL_REQUEST_COMMENT | Retrieve a specific comment from a pull request by its ID. | All levels |
Get pull request commitsBITBUCKET_GET_PULL_REQUEST_COMMITS | Retrieve commits for a specified pull request. | All levels |
Get pull request diffBITBUCKET_GET_PULL_REQUEST_DIFF | Fetch the unified diff for a Bitbucket pull request (follows 302 redirect to repository diff). | All levels |
Get pull request diffstatBITBUCKET_GET_PULL_REQUEST_DIFFSTAT | Get the diffstat for a Bitbucket pull request, showing all changed files with their change statistics (lines added/removed, status). | All levels |
Get raw file contentBITBUCKET_GET_RAW_FILE_CONTENT | DEPRECATED: Use BITBUCKET_GET_FILE_FROM_REPOSITORY instead. | All levels |
Get repositories branching modelBITBUCKET_GET_REPOSITORIES_BRANCHING_MODEL | Return the branching model as applied to the repository. | All levels |
Get repositories commitBITBUCKET_GET_REPOSITORIES_COMMIT | Retrieve detailed information about a specific commit in a Bitbucket repository. | All levels |
Get repositories commit commentsBITBUCKET_GET_REPOSITORIES_COMMIT_COMMENTS | Retrieves all comments on a specific commit in a Bitbucket repository. | All levels |
Get repositories commit reportBITBUCKET_GET_REPOSITORIES_COMMIT_REPORT | Returns a single report matching the provided ID from a commit. | All levels |
Get repositories commit reportsBITBUCKET_GET_REPOSITORIES_COMMIT_REPORTS | Get reports linked to a specific commit. Use when you need to retrieve analysis results, test reports, security scans, or code coverage data associated with a commit. | All levels |
Get repositories commit reports annotationsBITBUCKET_GET_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONS | Returns a single annotation matching the provided ID from a commit report. | All levels |
Get repositories commit statusesBITBUCKET_GET_REPOSITORIES_COMMIT_STATUSES | Returns all build statuses (e.g., CI/CD pipeline results) for a specific commit. | All levels |
Get repositories effective branching modelBITBUCKET_GET_REPOSITORIES_EFFECTIVE_BRANCHING_MODEL | Retrieves the effective branching model for a Bitbucket repository, showing which branching model is currently applied (including any inheritance from project-level settings). | All levels |
Get repositories environments2BITBUCKET_GET_REPOSITORIES_ENVIRONMENTS2 | Retrieve detailed information about a specific deployment environment in a Bitbucket repository. | All levels |
Get repositories filehistoryBITBUCKET_GET_REPOSITORIES_FILEHISTORY | Returns a paginated list of commits that modified the specified file. | All levels |
Get repositories issues voteBITBUCKET_GET_REPOSITORIES_ISSUES_VOTE | Check whether the authenticated user has voted for a specific issue in a Bitbucket repository. | All levels |
Get repositories merge baseBITBUCKET_GET_REPOSITORIES_MERGE_BASE | Get the merge base (best common ancestor) between two commits in a Bitbucket repository. | All levels |
Get repositories pipelines2BITBUCKET_GET_REPOSITORIES_PIPELINES2 | Retrieve a specified pipeline from a Bitbucket repository. | All levels |
Get repositories pipelines config cachesBITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_CACHES | Retrieves the repository pipelines caches. | All levels |
Get repositories pipelines config runnersBITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_RUNNERS | Retrieves the list of self-hosted runners configured for a repository's pipelines. | All levels |
Get repositories pipelines config schedulesBITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_SCHEDULES | Retrieves configured pipeline schedules for a Bitbucket repository. | All levels |
Get repositories pipelines config ssh known hostsBITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_SSH_KNOWN_HOSTS | Retrieves repository-level SSH known hosts configured for Bitbucket Pipelines. | All levels |
Get repositories pipelines config variablesBITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_VARIABLES | Retrieves repository-level pipeline variables for a specific Bitbucket repository. | All levels |
Get repositories pipelines stepsBITBUCKET_GET_REPOSITORIES_PIPELINES_STEPS | Retrieves all steps for a given pipeline. Use when you need to inspect the individual steps of a pipeline execution, including their state, duration, and commands. | All levels |
Get repositories pullrequests activityBITBUCKET_GET_REPOSITORIES_PULLREQUESTS_ACTIVITY | Get paginated activity log for all pull requests in a repository. | All levels |
Get repositories pullrequests commentsBITBUCKET_GET_REPOSITORIES_PULLREQUESTS_COMMENTS | Retrieves a paginated list of comments on a specific pull request in a Bitbucket repository. | All levels |
Get repositories pullrequests statusesBITBUCKET_GET_REPOSITORIES_PULLREQUESTS_STATUSES | Returns all build statuses (e.g., CI/CD pipeline results) for a specific pull request. | All levels |
Get repositories refsBITBUCKET_GET_REPOSITORIES_REFS | Returns the branches and tags in the repository. | All levels |
Get repositories refs tagsBITBUCKET_GET_REPOSITORIES_REFS_TAGS | Retrieves detailed information about a specific tag in a Bitbucket repository. | All levels |
Get repositories srcBITBUCKET_GET_REPOSITORIES_SRC | Lists the contents of the root directory on the repository's main branch without needing to specify a commit or branch. | All levels |
Get repositories watchersBITBUCKET_GET_REPOSITORIES_WATCHERS | Retrieves a paginated list of all the watchers on the specified repository. | All levels |
Get repositoryBITBUCKET_GET_REPOSITORY | Retrieves detailed information about a specific repository in a Bitbucket workspace. | All levels |
Get repository patchBITBUCKET_GET_REPOSITORY_PATCH | Retrieve the git patch content for a Bitbucket repository at a specified revision or commit range. | All levels |
Get snippetBITBUCKET_GET_SNIPPET | Retrieves a specific Bitbucket snippet by its encoded ID from an existing workspace, returning its metadata and file structure. | All levels |
Get snippets watchBITBUCKET_GET_SNIPPETS_WATCH | Checks if the current user is watching a specific snippet. | All levels |
Get ssh latest keysBITBUCKET_GET_SSH_LATEST_KEYS | Retrieves a paginated list of SSH keys for a specified Bitbucket user. | All levels |
Get userBITBUCKET_GET_USER | Retrieves public profile information for a specific Bitbucket user by username or UUID. | All levels |
Get user emailsBITBUCKET_GET_USER_EMAILS | Returns all the authenticated user's email addresses, both confirmed and unconfirmed. | All levels |
Get user emails2BITBUCKET_GET_USER_EMAILS2 | Retrieves details about a specific email address for the authenticated user. | All levels |
Get user permissions repositoriesBITBUCKET_GET_USER_PERMISSIONS_REPOSITORIES | Returns an object for each repository the caller has explicit access to, including their permission level. | All levels |
Get user permissions workspacesBITBUCKET_GET_USER_PERMISSIONS_WORKSPACES | Retrieves workspace memberships and permission levels for the authenticated user. | All levels |
Get user workspacesBITBUCKET_GET_USER_WORKSPACES | Retrieve all workspaces accessible to the authenticated user. | All levels |
Get workspaceBITBUCKET_GET_WORKSPACE | Retrieves detailed information about a specific Bitbucket workspace. | All levels |
Get workspaces pullrequestsBITBUCKET_GET_WORKSPACES_PULLREQUESTS | Get all workspace pull requests authored by a specified user. | All levels |
Get workspaces search codeBITBUCKET_GET_WORKSPACES_SEARCH_CODE | Search for code in the repositories of the specified workspace. | All levels |
List branchesBITBUCKET_LIST_BRANCHES | Lists branches in a Bitbucket repository with optional server-side filtering by name pattern (BBQL) and sorting. | All levels |
List commitsBITBUCKET_LIST_COMMITS | Retrieve a page of commits from a Bitbucket repository. | All levels |
List commits from revisionBITBUCKET_LIST_COMMITS_FROM_REVISION | List commits starting from a specific revision in a Bitbucket repository. | All levels |
List commits on masterBITBUCKET_LIST_COMMITS_ON_MASTER | Lists commits on the master branch of a Bitbucket repository. | All levels |
List deploymentsBITBUCKET_LIST_DEPLOYMENTS | Lists deployments for a specified Bitbucket repository. | All levels |
List issuesBITBUCKET_LIST_ISSUES | Lists issues in a Bitbucket repository with optional filtering by state, priority, kind, or assignee. | All levels |
List pipelinesBITBUCKET_LIST_PIPELINES | Find pipelines in a Bitbucket repository. Returns pipeline metadata including state, trigger, and duration. Use when you need to browse pipeline history or check pipeline status. | All levels |
List pull requestsBITBUCKET_LIST_PULL_REQUESTS | Lists pull requests in a specified, accessible Bitbucket repository, optionally filtering by state (OPEN, MERGED, DECLINED). | All levels |
List pull request tasksBITBUCKET_LIST_PULL_REQUEST_TASKS | Lists all tasks associated with a pull request in a Bitbucket repository. | All levels |
List repositoriesBITBUCKET_LIST_REPOSITORIES | Retrieves a paginated list of all public repositories on Bitbucket. | All levels |
List repositories environmentsBITBUCKET_LIST_REPOSITORIES_ENVIRONMENTS | List all deployment environments configured for a Bitbucket repository. | All levels |
List repositories in workspaceBITBUCKET_LIST_REPOSITORIES_IN_WORKSPACE | Lists repositories in a specified Bitbucket workspace, accessible to the authenticated user, with options to filter by role or query string, and sort results. | All levels |
List repository pathsBITBUCKET_LIST_REPOSITORY_PATHS | Lists file and directory entries under a repository path at a given revision, with optional breadth-first recursion via max_depth for repository traversal and scanning. | All levels |
List snippetsBITBUCKET_LIST_SNIPPETS | Returns all snippets accessible to the authenticated user. | All levels |
List tagsBITBUCKET_LIST_TAGS | Lists tags in a Bitbucket repository with optional server-side filtering by name pattern or commit hash (BBQL) and sorting. | All levels |
List versionsBITBUCKET_LIST_VERSIONS | Lists versions (milestones) in a Bitbucket repository's issue tracker. | All levels |
List workspacesBITBUCKET_LIST_WORKSPACES | Lists Bitbucket workspaces accessible to the authenticated user, optionally filtered and sorted. | All levels |
List workspace membersBITBUCKET_LIST_WORKSPACE_MEMBERS | Lists all members of a specified Bitbucket workspace; the workspace must exist. | All levels |
List workspace projectsBITBUCKET_LIST_WORKSPACE_PROJECTS | Lists projects in a specified Bitbucket workspace. | All levels |
Merge pull requestBITBUCKET_MERGE_PULL_REQUEST | Merge a Bitbucket Cloud pull request via the REST API. | Read + write, Full access |
Request pull request changesBITBUCKET_REQUEST_PULL_REQUEST_CHANGES | Request changes on a pull request as the authenticated user. | Read + write, Full access |
Resolve pull request commentBITBUCKET_RESOLVE_PULL_REQUEST_COMMENT | Resolve or reopen a pull request comment thread. | Read + write, Full access |
Search team codeBITBUCKET_SEARCH_TEAM_CODE | Search for code in repositories of a specified team. | All levels |
Search user repositories codeBITBUCKET_SEARCH_USER_REPOSITORIES_CODE | Search for code in the repositories of a specified user. | All levels |
Update insights projects repos commits reportsBITBUCKET_UPDATE_INSIGHTS_PROJECTS_REPOS_COMMITS_REPORTS | Create or update an insight report for a commit. | Read + write, Full access |
Update issueBITBUCKET_UPDATE_ISSUE | Updates an existing issue in a Bitbucket repository by modifying specified attributes; requires workspace, repo_slug, issue_id, and at least one attribute to update. | Read + write, Full access |
Update pull requestBITBUCKET_UPDATE_PULL_REQUEST | Update an existing pull request's editable fields (e.g., title, description, reviewers) via the Bitbucket Cloud API. | Read + write, Full access |
Update repositories commit commentsBITBUCKET_UPDATE_REPOSITORIES_COMMIT_COMMENTS | Updates the contents of a comment on a commit. | Read + write, Full access |
Update repositories commit reports annotationsBITBUCKET_UPDATE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONS | Creates or updates an individual annotation for a commit report. | Read + write, Full access |
Update teams pipelines config variablesBITBUCKET_UPDATE_TEAMS_PIPELINES_CONFIG_VARIABLES | Updates a team-level pipeline configuration variable in Bitbucket. | Read + write, Full access |
Update users pipelines config variablesBITBUCKET_UPDATE_USERS_PIPELINES_CONFIG_VARIABLES | Updates a user-level pipeline variable for Bitbucket pipelines. | Read + write, Full access |
Just ask in plain language: “check Bitbucket for …”, “create … in Bitbucket”, “every Monday, … ”, and the agent finds the right tool, runs it, and reports back with a receipt in your Runs ledger. Anything outward-facing (sending, posting, publishing) that a mission didn't clearly authorize comes back to you as a ticket first.
| Agent says | What's happening | Fix |
|---|---|---|
| "Bitbucket isn't connected" | No active connection (or this agent is denied) | Connect on the Integrations page; check the agent's per-app policy |
| "The connection has expired" | Bitbucket ended the authorization (they all do periodically) | Click Reconnect on the account, same settings, one click |
| "I'm not allowed to do that" | The action is above the account's access level, or the agent is scoped down | Raise the level under Manage, or adjust that agent's policy |
| It did something unexpected | The ask was ambiguous (e.g. matched an existing item) | Be explicit, "create a NEW …", and give agents a working folder where relevant |