Bitbucket Integration
Bitbucket API Operations
Browse all 107 operations available for Bitbucket workflow automation.
crm
107 operationsBITBUCKET_APPROVE_PULL_REQUESTApprove Pull Request
Tool to approve a pull request as the authenticated user.
BITBUCKET_BROWSE_REPOSITORY_PATHBrowse repository path
Tool to retrieve content for a file path or browse directory contents at a specified revision in a Bitbucket repository.
BITBUCKET_GET_REPOSITORIES_ISSUES_VOTECheck if user voted for issue
Tool to check whether the authenticated user has voted for a specific issue in a Bitbucket repository.
BITBUCKET_CREATE_BRANCHCreate a 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…
BITBUCKET_CREATE_PULL_REQUESTCreate a 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.
BITBUCKET_CREATE_ISSUECreate an 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…
BITBUCKET_CREATE_ISSUE_COMMENTCreate an issue comment
Adds a new comment with markdown support to an existing Bitbucket issue.
BITBUCKET_CREATE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSCreate commit report annotations
Adds multiple annotations to a commit report in bulk.
BITBUCKET_CREATE_PULL_REQUEST_COMMENTCreate pull request comment
Creates a new comment on a Bitbucket pull request.
BITBUCKET_CREATE_REPOSITORYCreate repository
Creates a new Bitbucket 'git' repository in a specified workspace, defaulting to the workspace's oldest project if projectkey is not provided.
BITBUCKET_CREATE_SNIPPET_COMMENTCreate snippet comment
Posts a new top-level comment or a threaded reply to an existing comment on a specified Bitbucket snippet.
BITBUCKET_CREATE_TEAMS_PIPELINES_CONFIG_VARIABLESCreate team pipeline variable
Creates a team-level pipeline configuration variable in Bitbucket.
BITBUCKET_CREATE_USERS_PIPELINES_CONFIG_VARIABLESCreate user pipeline variable
Creates a user-level pipeline variable for Bitbucket pipelines.
BITBUCKET_DELETE_COMMIT_COMMENTDelete commit comment
Permanently deletes a specific comment on a commit.
BITBUCKET_DELETE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSDelete commit report annotation
Deletes a single annotation matching the provided ID from a commit report.
BITBUCKET_DELETE_ISSUEDelete issue
Permanently deletes a specific issue, identified by its issueid, from the repository specified by reposlug within the given workspace.
BITBUCKET_DELETE_PULL_REQUEST_COMMENTDelete pull request comment
Permanently deletes a specific pull request comment (top-level, inline, or threaded reply).
BITBUCKET_DELETE_REPOSITORYDelete repository
Permanently deletes a specified Bitbucket repository; this action is irreversible and does not affect forks.
BITBUCKET_DELETE_SNIPPETS_WATCHDelete snippet watch
Stops watching a specific snippet.
BITBUCKET_DELETE_USER_PIPELINE_VARIABLEDelete user pipeline variable
Permanently deletes a user-level pipeline configuration variable identified by its UUID.
BITBUCKET_GET_COMMIT_BUILD_STATUSGet Commit Build Status
Get a specific build status for a commit in Bitbucket.
BITBUCKET_GET_COMMIT_CHANGESGet Commit Changes
Tool to retrieve a page of changes made in a specified commit, showing all changed files with their change statistics (lines added/removed, status).
BITBUCKET_GET_COMMIT_DIFFGet Commit Diff
Tool to retrieve the unified diff between two provided revisions or for a single commit in a Bitbucket repository.
BITBUCKET_GET_REPOSITORIES_COMMIT_REPORTSGet Commit Reports
Tool to get reports linked to a specific commit.
BITBUCKET_GET_OPENID_CONFIGURATIONGet OpenID configuration for OIDC in Pipelines
Retrieves the OpenID Connect discovery configuration for Bitbucket Pipelines OIDC.
BITBUCKET_GET_PULL_REQUESTGet Pull Request
Get a single pull request by ID with complete details.
BITBUCKET_GET_PULL_REQUEST_COMMITSGet Pull Request Commits
Tool to retrieve commits for a specified pull request.
BITBUCKET_GET_PULL_REQUEST_DIFFGet Pull Request Diff
Tool to fetch the unified diff for a Bitbucket pull request (follows 302 redirect to repository diff).
BITBUCKET_GET_PULL_REQUEST_DIFFSTATGet Pull Request Diffstat
Tool to get the diffstat for a Bitbucket pull request, showing all changed files with their change statistics (lines added/removed, status).
BITBUCKET_GET_REPOSITORIES_MERGE_BASEGet Repositories Merge Base
Get the merge base (best common ancestor) between two commits in a Bitbucket repository.
BITBUCKET_GET_REPOSITORIES_BRANCHING_MODELGet Repository Branching Model
Return the branching model as applied to the repository.
BITBUCKET_GET_REPOSITORIES_COMMITGet Repository Commit
Tool to retrieve detailed information about a specific commit in a Bitbucket repository.
BITBUCKET_GET_REPOSITORIES_ENVIRONMENTS2Get Repository Environment
Retrieve detailed information about a specific deployment environment in a Bitbucket repository.
BITBUCKET_GET_REPOSITORY_PATCHGet Repository Patch
Tool to retrieve the git patch content for a Bitbucket repository at a specified revision or commit range.
BITBUCKET_GET_SSH_LATEST_KEYSGet SSH keys for user
Retrieves a paginated list of SSH keys for a specified Bitbucket user.
BITBUCKET_GET_WORKSPACES_PULLREQUESTSGet Workspace Pull Requests by User
Tool to get all workspace pull requests authored by a specified user.
BITBUCKET_GET_BRANCHGet branch
Retrieves detailed information about a specific branch in a Bitbucket repository.
BITBUCKET_GET_COMMIT_COMMENTGet commit comment
Retrieves a specific comment from a commit by its ID.
BITBUCKET_GET_REPOSITORIES_COMMIT_COMMENTSGet commit comments
Retrieves all comments on a specific commit in a Bitbucket repository.
BITBUCKET_GET_REPOSITORIES_COMMIT_REPORTGet commit report
Returns a single report matching the provided ID from a commit.
BITBUCKET_GET_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSGet commit report annotation
Returns a single annotation matching the provided ID from a commit report.
BITBUCKET_GET_REPOSITORIES_COMMIT_STATUSESGet commit statuses
Returns all build statuses (e.g., CI/CD pipeline results) for a specific commit.
BITBUCKET_GET_CURRENT_USER2Get current user (v2)
Tool to retrieve complete profile information for the currently authenticated Bitbucket user.
BITBUCKET_GET_DEPLOYMENT_ENVIRONMENT_VARIABLESGet deployment environment variables
Retrieves deployment environment level variables for a specific Bitbucket repository environment.
BITBUCKET_GET_REPOSITORIES_EFFECTIVE_BRANCHING_MODELGet effective branching model
Retrieves the effective branching model for a Bitbucket repository, showing which branching model is currently applied (including any inheritance from…
BITBUCKET_GET_REPOSITORIES_FILEHISTORYGet file commit history
Returns a paginated list of commits that modified the specified file.
BITBUCKET_GET_FILE_FROM_REPOSITORYGet 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.
BITBUCKET_GET_HOOK_EVENTSGet hook events
Retrieves a paginated list of all valid webhook events for a specified entity type (repository or workspace).
BITBUCKET_GET_REPOSITORIES_PIPELINES_STEPSGet pipeline steps
Retrieves all steps for a given pipeline.
BITBUCKET_GET_PULL_REQUEST_COMMENTGet pull request comment
Tool to retrieve a specific comment from a pull request by its ID.
BITBUCKET_GET_REPOSITORIES_PULLREQUESTS_COMMENTSGet pull request comments
Retrieves a paginated list of comments on a specific pull request in a Bitbucket repository.
BITBUCKET_GET_REPOSITORIES_PULLREQUESTS_STATUSESGet pull request statuses
Returns all build statuses (e.g., CI/CD pipeline results) for a specific pull request.
BITBUCKET_GET_REPOSITORIES_PULLREQUESTS_ACTIVITYGet pull requests activity log
Get paginated activity log for all pull requests in a repository.
BITBUCKET_GET_RAW_FILE_CONTENTGet raw file content
DEPRECATED: Use BITBUCKETGETFILEFROMREPOSITORY instead.
BITBUCKET_GET_REPOSITORIES_SRCGet repositories src
Lists the contents of the root directory on the repository's main branch without needing to specify a commit or branch.
BITBUCKET_GET_REPOSITORYGet repository
Retrieves detailed information about a specific repository in a Bitbucket workspace.
BITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_SSH_KNOWN_HOSTSGet repository SSH known hosts
Retrieves repository-level SSH known hosts configured for Bitbucket Pipelines.
BITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_RUNNERSGet repository pipeline runners
Retrieves the list of self-hosted runners configured for a repository's pipelines.
BITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_SCHEDULESGet repository pipeline schedules
Retrieves configured pipeline schedules for a Bitbucket repository.
BITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_VARIABLESGet repository pipeline variables
Retrieves repository-level pipeline variables for a specific Bitbucket repository.
BITBUCKET_GET_REPOSITORIES_PIPELINES_CONFIG_CACHESGet repository pipelines caches
Retrieves the repository pipelines caches.
BITBUCKET_GET_REPOSITORIES_REFSGet repository refs
Returns the branches and tags in the repository.
BITBUCKET_GET_REPOSITORIES_WATCHERSGet repository watchers
Retrieves a paginated list of all the watchers on the specified repository.
BITBUCKET_GET_SNIPPETGet snippet
Retrieves a specific Bitbucket snippet by its encoded ID from an existing workspace, returning its metadata and file structure.
BITBUCKET_GET_SNIPPETS_WATCHGet snippet watch status
Checks if the current user is watching a specific snippet.
BITBUCKET_GET_REPOSITORIES_PIPELINES2Get specific pipeline
Retrieve a specified pipeline from a Bitbucket repository.
BITBUCKET_GET_REPOSITORIES_REFS_TAGSGet tag
Retrieves detailed information about a specific tag in a Bitbucket repository.
BITBUCKET_GET_USERGet user
Retrieves public profile information for a specific Bitbucket user by username or UUID.
BITBUCKET_GET_USER_EMAILS2Get user email details
Retrieves details about a specific email address for the authenticated user.
BITBUCKET_GET_USER_EMAILSGet user emails
Returns all the authenticated user's email addresses, both confirmed and unconfirmed.
BITBUCKET_GET_USER_PERMISSIONS_REPOSITORIESGet user permissions for repositories
Returns an object for each repository the caller has explicit access to, including their permission level.
BITBUCKET_GET_USER_PERMISSIONS_WORKSPACESGet user permissions for workspaces
Retrieves workspace memberships and permission levels for the authenticated user.
BITBUCKET_GET_USER_WORKSPACESGet user workspaces
Tool to retrieve all workspaces accessible to the authenticated user.
BITBUCKET_GET_WORKSPACEGet workspace
Retrieves detailed information about a specific Bitbucket workspace.
BITBUCKET_LIST_REPOSITORIESList all public repositories
Retrieves a paginated list of all public repositories on Bitbucket.
BITBUCKET_LIST_BRANCHESList branches
Lists branches in a Bitbucket repository with optional server-side filtering by name pattern (BBQL) and sorting.
BITBUCKET_LIST_COMMITSList commits
Tool to retrieve a page of commits from a Bitbucket repository.
BITBUCKET_LIST_COMMITS_FROM_REVISIONList commits from revision
Tool to list commits starting from a specific revision in a Bitbucket repository.
BITBUCKET_CREATE_REPOSITORIES_COMMITS2List commits from revision (POST)
Tool to list commits from a revision using POST method.
BITBUCKET_LIST_COMMITS_ON_MASTERList commits on master
Lists commits on the master branch of a Bitbucket repository.
BITBUCKET_LIST_DEPLOYMENTSList deployments
Lists deployments for a specified Bitbucket repository.
BITBUCKET_LIST_ISSUESList issues in a repository
Lists issues in a Bitbucket repository with optional filtering by state, priority, kind, or assignee.
BITBUCKET_LIST_PIPELINESList pipelines
Tool to find pipelines in a Bitbucket repository.
BITBUCKET_LIST_PULL_REQUEST_TASKSList pull request tasks
Lists all tasks associated with a pull request in a Bitbucket repository.
BITBUCKET_LIST_PULL_REQUESTSList pull requests
Lists pull requests in a specified, accessible Bitbucket repository, optionally filtering by state (OPEN, MERGED, DECLINED).
BITBUCKET_LIST_REPOSITORIES_IN_WORKSPACEList 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.
BITBUCKET_LIST_REPOSITORIES_ENVIRONMENTSList repository environments
List all deployment environments configured for a Bitbucket repository.
BITBUCKET_LIST_REPOSITORY_PATHSList repository paths
Lists file and directory entries under a repository path at a given revision, with optional breadth-first recursion via maxdepth for repository traversal and…
BITBUCKET_LIST_SNIPPETSList snippets
Returns all snippets accessible to the authenticated user.
BITBUCKET_LIST_TAGSList tags
Lists tags in a Bitbucket repository with optional server-side filtering by name pattern or commit hash (BBQL) and sorting.
BITBUCKET_LIST_VERSIONSList versions
Lists versions (milestones) in a Bitbucket repository's issue tracker.
BITBUCKET_LIST_WORKSPACE_MEMBERSList workspace members
Lists all members of a specified Bitbucket workspace; the workspace must exist.
BITBUCKET_LIST_WORKSPACE_PROJECTSList workspace projects
Lists projects in a specified Bitbucket workspace.
BITBUCKET_LIST_WORKSPACESList workspaces
Lists Bitbucket workspaces accessible to the authenticated user, optionally filtered and sorted.
BITBUCKET_MERGE_PULL_REQUESTMerge Pull Request
Tool to merge a Bitbucket Cloud pull request via the REST API.
BITBUCKET_REQUEST_PULL_REQUEST_CHANGESRequest Pull Request Changes
Tool to request changes on a pull request as the authenticated user.
BITBUCKET_RESOLVE_PULL_REQUEST_COMMENTResolve pull request comment
Tool to resolve or reopen a pull request comment thread.
BITBUCKET_SEARCH_TEAM_CODESearch code in team repositories
Search for code in repositories of a specified team.
BITBUCKET_SEARCH_USER_REPOSITORIES_CODESearch code in user repositories
Tool to search for code in the repositories of a specified user.
BITBUCKET_GET_WORKSPACES_SEARCH_CODESearch code in workspace
Tool to search for code in the repositories of the specified workspace.
BITBUCKET_UPDATE_PULL_REQUESTUpdate Pull Request
Tool to update an existing pull request's editable fields (e.g., title, description, reviewers) via the Bitbucket Cloud API.
BITBUCKET_UPDATE_ISSUEUpdate an issue
Updates an existing issue in a Bitbucket repository by modifying specified attributes; requires workspace, reposlug, issueid, and at least one attribute to…
BITBUCKET_UPDATE_REPOSITORIES_COMMIT_COMMENTSUpdate commit comment
Updates the contents of a comment on a commit.
BITBUCKET_UPDATE_INSIGHTS_PROJECTS_REPOS_COMMITS_REPORTSUpdate commit insight report
Create or update an insight report for a commit.
BITBUCKET_UPDATE_REPOSITORIES_COMMIT_REPORTS_ANNOTATIONSUpdate commit report annotation
Creates or updates an individual annotation for a commit report.
BITBUCKET_UPDATE_TEAMS_PIPELINES_CONFIG_VARIABLESUpdate team pipeline variable
Updates a team-level pipeline configuration variable in Bitbucket.
BITBUCKET_UPDATE_USERS_PIPELINES_CONFIG_VARIABLESUpdate user pipeline variable
Updates a user-level pipeline variable for Bitbucket pipelines.