- Category: developer tools
- Auth: OAUTH2
- Composio-managed OAuth available? Yes
- Tools: 118
- Triggers: 0
- Slug:
BITBUCKET - Version: 20261101_00
Tools
Approve Pull Request
Approve Pull Request
Browse repository path
Browse repository path
BITBUCKET_BROWSE_REPOSITORY_PATHRetrieves file content or browses directory contents at a specified revision in a Bitbucket repository. File content is returned as text or base64-encoded binary data; directory listings are paginated, and metadata can also be requested.Input Parameters
Output
Create a branch
Create a branch
BITBUCKET_CREATE_BRANCHCreates 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.Input Parameters
Output
Create an issue
Create an issue
Create an issue comment
Create an issue comment
Create a pull request
Create a pull request
BITBUCKET_CREATE_PULL_REQUESTCreates a new pull request in a specified Bitbucket repository, ensuring the source branch exists and is distinct from the (optional) destination branch.Input Parameters
Output
Create pull request comment
Create pull request comment
BITBUCKET_CREATE_PULL_REQUEST_COMMENTCreates a new comment on a Bitbucket pull request. Supports top-level comments, threaded replies, and inline code comments. Use when providing feedback on a PR, replying to existing comments, or commenting on specific code lines.Input Parameters
Output
Create commit report annotations
Create commit report annotations
BITBUCKET_CREATE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSAdds multiple annotations to a commit report in bulk. Use when you need to add code analysis findings (vulnerabilities, code smells, bugs) to a report attached to a specific commit.Input Parameters
Output
List commits from revision (POST)
List commits from revision (POST)
BITBUCKET_CREATE_REPOSITORIES_COMMITS2Tool to list commits from a revision using POST method. Identical to GET endpoint but allows sending include/exclude parameters in request body to avoid URL length limits. Use when include/exclude parameters are too long for query strings.Input Parameters
Output
Create repository
Create repository
BITBUCKET_CREATE_REPOSITORYCreates a new Bitbucket ‘git’ repository in a specified workspace, defaulting to the workspace’s oldest project if project_key is not provided.Input Parameters
Output
Create snippet comment
Create snippet comment
BITBUCKET_CREATE_SNIPPET_COMMENTPosts a new top-level comment or a threaded reply to an existing comment on a specified Bitbucket snippet.Input Parameters
Output
Create team pipeline variable
Create team pipeline variable
BITBUCKET_CREATE_TEAMS_PIPELINES_CONFIG_VARIABLESCreates a workspace-level pipeline configuration variable in Bitbucket for the workspace identified by the supplied team username. Use to add environment variables or configuration values for pipelines in that workspace.Input Parameters
True for sensitive values like passwords or API keys, False for non-sensitive values.Output
Create user pipeline variable
Create user pipeline variable
BITBUCKET_CREATE_USERS_PIPELINES_CONFIG_VARIABLESCreates a user-level pipeline variable for Bitbucket pipelines. Use when you need to create account-level configuration variables that can be used across all repositories owned by the user.Input Parameters
Output
Decline Pull Request
Decline Pull Request
BITBUCKET_DECLINE_PULL_REQUESTDecline a Bitbucket Cloud pull request via the REST API. Use this action when you need to reject a pull request that should not be merged. This action is irreversible — once declined, the pull request cannot be reopened and must be recreated if needed.Input Parameters
Output
Delete commit comment
Delete commit comment
BITBUCKET_DELETE_COMMIT_COMMENTPermanently deletes a specific comment on a commit. Use when removing outdated, incorrect, or unwanted feedback on a commit.Input Parameters
Output
Delete issue
Delete issue
BITBUCKET_DELETE_ISSUEPermanently deletes a specific issue, identified by its issue_id, from the repository specified by repo_slug within the given workspace.Input Parameters
Output
Delete pull request comment
Delete pull request comment
BITBUCKET_DELETE_PULL_REQUEST_COMMENTPermanently deletes a specific pull request comment (top-level, inline, or threaded reply). Use when removing outdated, incorrect, or unwanted feedback from a pull request.Input Parameters
Output
Delete commit report annotation
Delete commit report annotation
BITBUCKET_DELETE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSDeletes a single annotation matching the provided ID from a commit report. Use when you need to remove a specific annotation from a code analysis report.Input Parameters
Output
Delete repository
Delete repository
BITBUCKET_DELETE_REPOSITORYPermanently deletes a specified Bitbucket repository; this action is irreversible and does not affect forks.Input Parameters
Output
Delete snippet watch
Delete snippet watch
Delete user pipeline variable
Delete user pipeline variable
BITBUCKET_DELETE_USER_PIPELINE_VARIABLEPermanently deletes a user-level pipeline configuration variable identified by its UUID. Use this to remove pipeline variables that are no longer needed at the account level.Input Parameters
Output
Download repository archive
Download repository archive
Get branch
Get branch
BITBUCKET_GET_BRANCHRetrieves detailed information about a specific branch in a Bitbucket repository. Use when you need to get branch metadata, the commit it points to, or verify a branch exists.Input Parameters
Output
Get Commit Build Status
Get Commit Build Status
Get Commit Changes
Get Commit Changes
Get commit comment
Get commit comment
Get Commit Diff
Get Commit Diff
BITBUCKET_GET_COMMIT_DIFFTool to retrieve the unified diff between two provided revisions or for a single commit in a Bitbucket repository. Use when you need to see the actual code changes in a commit or between two commits. Supports filtering by file path and various diff options.Input Parameters
Output
Get current user (v2)
Get current user (v2)
Get deployment environment variables
Get deployment environment variables
BITBUCKET_GET_DEPLOYMENT_ENVIRONMENT_VARIABLESRetrieves deployment environment level variables for a specific Bitbucket repository environment. Use when you need to view or audit environment-specific configuration variables for deployments.Input Parameters
Output
Get file from repository
Get file from repository
Get hook events
Get hook events
BITBUCKET_GET_HOOK_EVENTSRetrieves a paginated list of all valid webhook events for a specified entity type (repository or workspace). Use when you need to discover available webhook event types for subscription or webhook configuration.Input Parameters
Output
Get OpenID configuration for OIDC in Pipelines
Get OpenID configuration for OIDC in Pipelines
BITBUCKET_GET_OPENID_CONFIGURATIONRetrieves the OpenID Connect discovery configuration for Bitbucket Pipelines OIDC. Use when integrating Bitbucket Pipelines with resource servers (AWS, GCP, Vault) using OpenID Connect authentication. Returns issuer URL, JWKS URI, and supported capabilities.Input Parameters
Output
Get pipeline step
Get pipeline step
Get pipeline step log
Get pipeline step log
Get Pull Request
Get Pull Request
Get pull request activity
Get pull request activity
Get pull request comment
Get pull request comment
Get Pull Request Commits
Get Pull Request Commits
BITBUCKET_GET_PULL_REQUEST_COMMITSTool to retrieve commits for a specified pull request. Use when reviewing the commit history of a PR or analyzing changes included in a pull request.Input Parameters
Output
Get Pull Request Diff
Get Pull Request Diff
BITBUCKET_GET_PULL_REQUEST_DIFFTool to fetch the unified diff for a Bitbucket pull request (follows 302 redirect to repository diff). Use when reviewing code changes in a PR. Supports optional truncation for large diffs via max_chars parameter.Input Parameters
Output
Get Pull Request Diffstat
Get Pull Request Diffstat
Get pull request merge base
Get pull request merge base
Get raw file content
Get raw file content
Get Repository Branching Model
Get Repository Branching Model
BITBUCKET_GET_REPOSITORIES_BRANCHING_MODELReturn the branching model as applied to the repository. Use when you need to understand the repository’s branch workflow configuration, including development/production branches and branch type prefixes.Input Parameters
Output
Get Repository Commit
Get Repository Commit
Get commit comments
Get commit comments
Get commit report
Get commit report
BITBUCKET_GET_REPOSITORIES_COMMIT_REPORTReturns a single report matching the provided ID from a commit. Use when you need to retrieve details of a specific analysis report (e.g., security scan, code coverage, test results, or bug report) for a commit.Input Parameters
Output
Get Commit Reports
Get Commit Reports
Get commit report annotation
Get commit report annotation
BITBUCKET_GET_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSReturns a single annotation matching the provided ID from a commit report. Use when you need to retrieve details of a specific code analysis finding (e.g., vulnerability, code smell, or bug) identified in a commit.Input Parameters
Output
Get commit statuses
Get commit statuses
BITBUCKET_GET_REPOSITORIES_COMMIT_STATUSESReturns a page of build statuses, such as CI/CD pipeline results, for a specific commit. Use it to check build status or monitor pipeline results for that commit.Input Parameters
Output
Get effective branching model
Get effective branching model
BITBUCKET_GET_REPOSITORIES_EFFECTIVE_BRANCHING_MODELRetrieves the effective branching model for a Bitbucket repository, showing which branching model is currently applied (including any inheritance from project-level settings). Use when you need to understand the repository’s branch workflow configuration, including development and production branches and branch type prefixes.Input Parameters
Output
Get Repository Environment
Get Repository Environment
BITBUCKET_GET_REPOSITORIES_ENVIRONMENTS2Retrieve detailed information about a specific deployment environment in a Bitbucket repository. Use when you need to get environment configuration, deployment settings, or check environment properties like locks and restrictions.Input Parameters
Output
Get file commit history
Get file commit history
BITBUCKET_GET_REPOSITORIES_FILEHISTORYReturns a paginated list of commits that modified the specified file. Use when you need to track file changes over time, find who modified a file, or determine when a file was created or last changed.Input Parameters
Output
Check if user voted for issue
Check if user voted for issue
Get Repositories Merge Base
Get Repositories Merge Base
BITBUCKET_GET_REPOSITORIES_MERGE_BASEGet the merge base (best common ancestor) between two commits in a Bitbucket repository. Use when you need to find the common ancestor commit between two branches or commits for comparison or merge operations.Input Parameters
Output
Get specific pipeline
Get specific pipeline
BITBUCKET_GET_REPOSITORIES_PIPELINES2Retrieve a specified pipeline from a Bitbucket repository. Use when you need to get detailed information about a specific pipeline execution including its status, build number, and results.Input Parameters
Output
Get repository pipelines caches
Get repository pipelines caches
BITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_CACHESRetrieves a page of pipeline caches for a specific Bitbucket repository.Input Parameters
Output
Get repository pipeline runners
Get repository pipeline runners
BITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_RUNNERSRetrieves the list of self-hosted runners configured for a repository’s pipelines. Use when you need to view available runners for pipeline execution.Input Parameters
Output
Get repository pipeline schedules
Get repository pipeline schedules
Get repository SSH known hosts
Get repository SSH known hosts
BITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_SSH_KNOWN_HOSTSRetrieves repository-level SSH known hosts configured for Bitbucket Pipelines. Use when you need to list or verify SSH known hosts that Pipelines can connect to during builds.Input Parameters
Output
Get repository pipeline variables
Get repository pipeline variables
BITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_VARIABLESRetrieves repository-level pipeline variables for a specific Bitbucket repository. Use when you need to view or audit pipeline configuration variables that are scoped to a repository.Input Parameters
Output
Get pipeline steps
Get pipeline steps
BITBUCKET_GET_REPOSITORIES_PIPELINES_STEPSRetrieves a page of steps for a given pipeline, including available state, duration, and command details.Input Parameters
Output
Get pull requests activity log
Get pull requests activity log
BITBUCKET_GET_REPOSITORIES_PULLREQUESTS_ACTIVITYGets a paginated activity log for pull requests in a repository, including comments, updates, and approvals.Input Parameters
Output
Get pull request comments
Get pull request comments
Get pull request statuses
Get pull request statuses
BITBUCKET_GET_REPOSITORIES_PULLREQUESTS_STATUSESReturns a page of build statuses for a specific pull request, such as CI/CD pipeline results. Use it to check build status or monitor pull request checks.Input Parameters
Output
Get repository refs
Get repository refs
BITBUCKET_GET_REPOSITORIES_REFSReturns a paginated list of branches and tags in a repository, with optional query filtering by type, name pattern, or commit hash.Input Parameters
Output
Get tag
Get tag
BITBUCKET_GET_REPOSITORIES_REFS_TAGSRetrieves detailed information about a specific tag in a Bitbucket repository. Use when you need to get tag metadata, target commit details, or verify a tag exists.Input Parameters
Output
Get repositories src
Get repositories src
BITBUCKET_GET_REPOSITORIES_SRCLists the contents of the root directory on the repository’s main branch without needing to specify a commit or branch. This endpoint redirects to the main branch automatically.Input Parameters
Output
Get repository watchers
Get repository watchers
BITBUCKET_GET_REPOSITORIES_WATCHERSRetrieves a paginated list of all the watchers on the specified repository. Use when you need to see who is watching a particular repository.Input Parameters
Output
Get repository
Get repository
Get Repository Patch
Get Repository Patch
BITBUCKET_GET_REPOSITORY_PATCHRetrieves the Git patch for a Bitbucket repository at a specified revision or commit range in unified diff format. An optional character limit can truncate the patch; the response reports whether truncation occurred.Input Parameters
Output
Get snippet
Get snippet
BITBUCKET_GET_SNIPPETRetrieves a specific Bitbucket snippet by its encoded ID from an existing workspace, returning its metadata and file structure.Input Parameters
Output
Get snippet watch status
Get snippet watch status
Get SSH keys for user
Get SSH keys for user
BITBUCKET_GET_SSH_LATEST_KEYSRetrieves a paginated list of SSH keys for a specified Bitbucket user. Use when you need to view or audit SSH keys configured for a user account.Input Parameters
Output
Get user
Get user
BITBUCKET_GET_USERRetrieves public profile information for a specific Bitbucket user by username or UUID. Use when you need to get user details like display name, avatar, creation date, and links to related resources.Input Parameters
Output
Get user emails
Get user emails
Get user email details
Get user email details
BITBUCKET_GET_USER_EMAILS2Retrieves details about a specific email address for the authenticated user. Use when you need to check if an email is primary, confirmed, or verify email ownership.Input Parameters
Output
Get user permissions for repositories
Get user permissions for repositories
BITBUCKET_GET_USER_PERMISSIONS_REPOSITORIESRetrieves a page of repository permissions for repositories the authenticated user has explicit access to, including permission levels. Supports pagination.Input Parameters
Output
Get user permissions for workspaces
Get user permissions for workspaces
BITBUCKET_GET_USER_PERMISSIONS_WORKSPACESRetrieves a page of workspace memberships and permission levels for the authenticated user, including their effective role. Supports filtering and pagination.Input Parameters
Output
Get user workspaces
Get user workspaces
BITBUCKET_GET_USER_WORKSPACESRetrieves a page of workspaces accessible to the authenticated user, optionally filtered by workspace slug or permission level. The response may include a link to the next page.Input Parameters
Output
Get workspace
Get workspace
BITBUCKET_GET_WORKSPACERetrieves detailed information about a specific Bitbucket workspace. Use when you need to get workspace metadata, settings, or details.Input Parameters
Output
Get Workspace Pull Requests by User
Get Workspace Pull Requests by User
Search code in workspace
Search code in workspace
BITBUCKET_GET_WORKSPACES_SEARCH_CODETool to search for code in the repositories of the specified workspace. Use when you need to find specific code patterns, function definitions, or text across all repositories in a workspace.Input Parameters
Output
List branches
List branches
BITBUCKET_LIST_BRANCHESLists branches in a Bitbucket repository with optional server-side filtering by name pattern (BBQL) and sorting. Use when you need to discover available branches, search for specific branch patterns, or navigate repository branch structure.Input Parameters
Output
List commits
List commits
BITBUCKET_LIST_COMMITSTool to retrieve a page of commits from a Bitbucket repository. Returns commits in reverse chronological order (newest first), similar to git log. Use when you need to browse commit history, filter commits by branch/tag, or restrict to commits affecting a specific path.Input Parameters
Output
List commits from revision
List commits from revision
BITBUCKET_LIST_COMMITS_FROM_REVISIONTool to list commits starting from a specific revision in a Bitbucket repository. Commits are paginated and returned in reverse chronological order. Use when you need to retrieve commit history from a specific commit, branch, or tag.Input Parameters
Output
List commits on master
List commits on master
BITBUCKET_LIST_COMMITS_ON_MASTERLists commits on the master branch of a Bitbucket repository. Use when you need to retrieve the commit history for the master branch, including commit messages, authors, dates, and parent relationships.Input Parameters
Output
List deployments
List deployments
BITBUCKET_LIST_DEPLOYMENTSLists deployments for a specified Bitbucket repository. Use when you need to view deployment history and status across environments.Input Parameters
Output
List issues in a repository
List issues in a repository
BITBUCKET_LIST_ISSUESLists issues in a Bitbucket repository with optional filtering by state, priority, kind, or assignee. Use when you need to discover issue IDs or get an overview of repository issues.Input Parameters
Output
List pipelines
List pipelines
List pipeline step test cases
List pipeline step test cases
List pull request mergeability checks
List pull request mergeability checks
BITBUCKET_LIST_PULL_REQUEST_MERGEABILITY_CHECKSReturn Bitbucket’s current pre-merge checks for one pull request. The result is not exhaustive because Bitbucket cannot evaluate every merge condition before attempting the merge. Use each check’s blocking field, not status alone, to determine whether it currently prevents merging.Input Parameters
Output
List pull requests
List pull requests
List pull requests for commit
List pull requests for commit
List pull request tasks
List pull request tasks
List all public repositories
List all public repositories
BITBUCKET_LIST_REPOSITORIESRetrieves a paginated list of all public repositories on Bitbucket. Use when you need to discover or search across public repositories, optionally filtered by role, query string, creation date, or sorted by various fields.Input Parameters
Output
List repository environments
List repository environments
BITBUCKET_LIST_REPOSITORIES_ENVIRONMENTSLists a page of deployment environments configured for a Bitbucket repository, with optional filtering and sorting. Use it to view available environments, check their configurations, or select one for deployment operations.Input Parameters
Output
List repositories in workspace
List repositories in workspace
BITBUCKET_LIST_REPOSITORIES_IN_WORKSPACELists repositories in a specified Bitbucket workspace, accessible to the authenticated user, with options to filter by role or query string, and sort results. Responses are paginated; iterate using the next field in each response until it is absent to retrieve all repositories.Input Parameters
Output
List repository forks
List repository forks
BITBUCKET_LIST_REPOSITORY_FORKSRetrieves a paginated list of all forks for a specific repository in a Bitbucket workspace. Returns repository objects for each fork with metadata like owner, creation date, and size. Use this action when you need to discover who has forked a repository or analyze fork relationships.Input Parameters
Output
List repository paths
List repository paths
BITBUCKET_LIST_REPOSITORY_PATHSLists 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. Fails if the path points to a file rather than a directory.Input Parameters
Output
List snippets
List snippets
BITBUCKET_LIST_SNIPPETSLists a page of snippets accessible to the authenticated user, optionally filtered by role (owner, contributor, or member). Pagination parameters select the page and page size.Input Parameters
Output
List versions
List versions
BITBUCKET_LIST_VERSIONSLists versions (milestones) in a Bitbucket repository’s issue tracker. Use when you need to discover available versions for associating with issues, or to retrieve version IDs for use with create_issue.Input Parameters
Output
List workspace members
List workspace members
BITBUCKET_LIST_WORKSPACE_MEMBERSLists members of a specified Bitbucket workspace, returning one page of results.Input Parameters
Output
List workspace projects
List workspace projects
BITBUCKET_LIST_WORKSPACE_PROJECTSLists projects in a specified Bitbucket workspace, returning a page of results with optional filtering and sorting.Input Parameters
Output
List workspaces
List workspaces
BITBUCKET_LIST_WORKSPACESLists Bitbucket workspaces accessible to the authenticated user, optionally filtered and sorted. Results are paginated; follow the next field in each response to retrieve subsequent pages until next is absent. When multiple workspaces are returned, verify the correct slug or UUID before passing to downstream tools.Input Parameters
Output
Merge Pull Request
Merge Pull Request
BITBUCKET_MERGE_PULL_REQUESTMerge a Bitbucket Cloud pull request, with optional custom merge message, merge strategy, and source branch deletion. The merge may complete asynchronously, returning task details to check completion.Input Parameters
Output
Request Pull Request Changes
Request Pull Request Changes
Resolve pull request comment
Resolve pull request comment
BITBUCKET_RESOLVE_PULL_REQUEST_COMMENTTool to resolve or reopen a pull request comment thread. Use when marking a comment as addressed during review or reopening a previously resolved thread.Input Parameters
Output
Search code in team repositories
Search code in team repositories
BITBUCKET_SEARCH_TEAM_CODESearch for code in repositories of a specified team. Matches can occur in file content or paths. Note: Teams endpoints were deprecated in Oct 2020; use workspace search endpoints for new integrations.Input Parameters
Output
Search code in user repositories
Search code in user repositories
BITBUCKET_SEARCH_USER_REPOSITORIES_CODETool to search for code in the repositories of a specified user. Use when you need to find specific code patterns, functions, or text across all repositories owned by a user.Input Parameters
Output
Stop pipeline
Stop pipeline
BITBUCKET_STOP_PIPELINESignal the stop of a pipeline and all of its steps that have not completed yet. This action is irreversible — once stopped, a pipeline cannot be restarted and must be re-triggered to run again. Use this action when you need to cancel a running pipeline execution that is no longer needed or was triggered incorrectly.Input Parameters
Output
Update commit insight report
Update commit insight report
BITBUCKET_UPDATE_INSIGHTS_PROJECTS_REPOS_COMMITS_REPORTSCreate or update an insight report for a commit. Creates a new report if it doesn’t exist, or replaces the existing one if a report already exists for the given repository, commit, and report key. Note: replacing an existing report will be rejected if the authenticated user was not the creator of the specified report.Input Parameters
Output
Update an issue
Update an issue
BITBUCKET_UPDATE_ISSUEUpdates an existing issue in a Bitbucket repository by modifying specified attributes; requires workspace, repo_slug, issue_id, and at least one attribute to update.Input Parameters
Output
Update Pull Request
Update Pull Request
BITBUCKET_UPDATE_PULL_REQUESTTool to update an existing pull request’s editable fields (e.g., title, description, reviewers) via the Bitbucket Cloud API. Use when you need to modify a pull request without creating a new one. Only sends fields that are explicitly provided to avoid accidental overwrites.Input Parameters
Output
Update commit comment
Update commit comment
Update commit report annotation
Update commit report annotation
BITBUCKET_UPDATE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSCreates or updates an individual annotation for a commit report. Use when you need to add or modify code analysis findings (vulnerabilities, code smells, or bugs) identified in a commit.Input Parameters
Output
Update team pipeline variable
Update team pipeline variable
BITBUCKET_UPDATE_TEAMS_PIPELINES_CONFIG_VARIABLESUpdates a team-level pipeline configuration variable in Bitbucket. Use when you need to modify existing environment variables or configuration values that are available to all pipelines within a team.Input Parameters
True for sensitive values like passwords or API keys, False for non-sensitive values.Output
Update user pipeline variable
Update user pipeline variable
BITBUCKET_UPDATE_USERS_PIPELINES_CONFIG_VARIABLESUpdates a user-level pipeline variable for Bitbucket pipelines. Use when you need to modify account-level configuration variables such as changing the value, key name, or security status.