# Connect Bitbucket with Open Flow

Source: https://openflow.run/en/integrations/bitbucket/

[All integrations](https://openflow.run/en/integrations/)

Arrive at code review with the discussion and build status already organized.

*   [41 actions](https://openflow.run/en/integrations/bitbucket/#integration-actions)
*   OAuth 2.0
*   Developer tools

[Connect Bitbucket](https://console.openflow.run/connections/bitbucket)

20,000 free app calls per month (paid services billed separately)

## What you can do

Read repository, branch, commit, and pull-request records in Bitbucket, and inspect pipeline runs for the selected project. Pull-request summaries draw on their details and comments rather than a full code diff.

### Pull Requests and Comments

Read reviews and perform explicitly requested pull request actions.

### Pipeline Runs

Inspect runs or start and stop pipelines when requested.

## All actions

41 actions

### Get Current User

Get the currently authenticated Bitbucket user.

`bitbucket.get_current_user`

### List Workspaces

List workspaces available to the authenticated Bitbucket user.

`bitbucket.list_workspaces`

### Get Workspace

Get a Bitbucket workspace by slug or UUID.

`bitbucket.get_workspace`

### List Workspace Members

List members of a Bitbucket workspace.

`bitbucket.list_workspace_members`

### List Workspace Projects

List projects in a Bitbucket workspace.

`bitbucket.list_workspace_projects`

### List Repositories

List repositories in a Bitbucket workspace.

`bitbucket.list_repositories`

### Get Repository

Get a Bitbucket repository by workspace and repository slug or UUID.

`bitbucket.get_repository`

### Delete Repository

Permanently delete a Bitbucket repository.

`bitbucket.delete_repository`

### List Branches

List branches in a Bitbucket repository.

`bitbucket.list_branches`

### Get Branch

Get a branch in a Bitbucket repository.

`bitbucket.get_branch`

### Create Branch

Create a branch from a commit hash or existing revision in a Bitbucket repository.

`bitbucket.create_branch`

### Delete Branch

Delete a branch from a Bitbucket repository.

`bitbucket.delete_branch`

### List Tags

List tags in a Bitbucket repository.

`bitbucket.list_tags`

### List Commits

List commits in a Bitbucket repository, optionally starting from a revision.

`bitbucket.list_commits`

### Get Commit

Get a commit from a Bitbucket repository.

`bitbucket.get_commit`

### List Pull Requests

List pull requests in a Bitbucket repository.

`bitbucket.list_pull_requests`

### Get Pull Request

Get a pull request from a Bitbucket repository.

`bitbucket.get_pull_request`

### Create Pull Request

Create a pull request in a Bitbucket repository.

`bitbucket.create_pull_request`

### Merge Pull Request

Merge a Bitbucket pull request.

`bitbucket.merge_pull_request`

### Get Pull Request Merge Task Status

Get the status of an asynchronous Bitbucket pull request merge task.

`bitbucket.get_pull_request_merge_task_status`

### Decline Pull Request

Decline a Bitbucket pull request.

`bitbucket.decline_pull_request`

### Approve Pull Request

Approve a Bitbucket pull request.

`bitbucket.approve_pull_request`

### List Pull Request Comments

List comments on a Bitbucket pull request.

`bitbucket.list_pull_request_comments`

### Create Pull Request Comment

Create a comment on a Bitbucket pull request.

`bitbucket.create_pull_request_comment`

### List Issues

List issues in a repository that still supports the deprecated Bitbucket issue tracker.

`bitbucket.list_issues`

### Get Issue

Get an issue from a repository that still supports the deprecated Bitbucket issue tracker.

`bitbucket.get_issue`

### Create Issue

Create an issue in a repository that still supports the deprecated Bitbucket issue tracker.

`bitbucket.create_issue`

### Update Issue

Update an issue in a repository that still supports the deprecated Bitbucket issue tracker.

`bitbucket.update_issue`

### List Issue Comments

List issue comments in a repository that still supports the deprecated Bitbucket issue tracker.

`bitbucket.list_issue_comments`

### Create Issue Comment

Create an issue comment in a repository that still supports the deprecated Bitbucket issue tracker.

`bitbucket.create_issue_comment`

### List Snippets

List snippets owned by or visible through a Bitbucket workspace.

`bitbucket.list_snippets`

### Get Snippet

Get a Bitbucket snippet by workspace and encoded snippet ID.

`bitbucket.get_snippet`

### List Pipelines

List Pipelines runs for a Bitbucket repository.

`bitbucket.list_pipelines`

### Get Pipeline

Get a Pipelines run from a Bitbucket repository.

`bitbucket.get_pipeline`

### Run Pipeline

Trigger a Bitbucket Pipelines run for a branch, tag, or commit.

`bitbucket.run_pipeline`

### Stop Pipeline

Stop a running Bitbucket pipeline.

`bitbucket.stop_pipeline`

### List Pipeline Variables

List repository-level Bitbucket Pipelines variables.

`bitbucket.list_pipeline_variables`

### Create Pipeline Variable

Create a repository-level Bitbucket Pipelines variable.

`bitbucket.create_pipeline_variable`

### Update Pipeline Variable

Replace a repository-level Bitbucket Pipelines variable.

`bitbucket.update_pipeline_variable`

### Delete Pipeline Variable

Delete a repository-level Bitbucket Pipelines variable.

`bitbucket.delete_pipeline_variable`

### List Repository Runners

List Pipelines runners configured for a Bitbucket repository.

`bitbucket.list_repository_runners`

No actions match your search.

## Connect Bitbucket with Open Flow

[Connect Bitbucket](https://console.openflow.run/connections/bitbucket)

20,000 free app calls per month (paid services billed separately)
