Bitbucket icon

Bitbucket Integration

Bitbucket Cloud REST 2.0 — repositories, pull requests, pipelines, commits, and webhooks. Connect Bitbucket events to the tools your engineering teams already use. Start with Watch Commits, then follow with Compare Commits or Get Branch to automate the next step.
3-day trialCancel anytimeUp to 10 minutes quick set up
  • GDPR
  • Data Encryption
  • 2FA
  • Local Data Region

Supported triggers and actions for Bitbucket integration

Triggers can detect changes in Bitbucket and run actions that can create, search or modify data inside Bitbucket automatically [3] — exactly how you set them.

  • Bitbucket icon
    Watch CommitsTriggers when a new commit appears.
  • Bitbucket icon
    Watch PipelinesTriggers when a pipeline is created.
  • Bitbucket icon
    Watch Pull RequestsTriggers when a pull request is created or updated.
  • Bitbucket icon
    Watch Repository EventsTriggers when a selected repository event occurs.
  • Bitbucket icon
    Watch Workspace EventsTriggers when a selected workspace event occurs.
  • Bitbucket icon
    Compare CommitsReturns a diff between two commits.
  • Bitbucket icon
    Get BranchReturns a single branch.
  • Bitbucket icon
    Get Build StatusReturns a build status for a commit.
  • Bitbucket icon
    Get CommitReturns a single commit.
  • Bitbucket icon
    Get Commit CommentReturns a single commit comment.
  • Bitbucket icon
    Get Commit DiffstatReturns diff stats between two commits.
  • Bitbucket icon
    Get Commit PatchReturns a patch between two commits.
  • Bitbucket icon
    Get Current UserReturns the current user.
  • Bitbucket icon
    Get Download ArtifactReturns the contents of a download artifact.
  • Bitbucket icon
    Get EnvironmentReturns a single deployment environment.
  • Bitbucket icon
    Get File or DirectoryReturns file or directory contents.
  • Bitbucket icon
    Get Merge BaseReturns the common ancestor of two commits.
  • Bitbucket icon
    Get PipelineReturns a single pipeline.
  • Bitbucket icon
    Get Pipeline ConfigReturns repository pipeline configuration.
  • Bitbucket icon
    Get Pipeline ScheduleReturns a single pipeline schedule.

How to integrate Bitbucket in automation workflow?

3 simple steps to make your Bitbucket connected with other apps in automation workflows on WEXTL. Up to 10 minutes integration set up.

How Bitbucket connects and integrates with WEXTL

Save and approve your credentials once — WEXTL® stores authorization information encrypted and reuses the authentication whenever Bitbucket app is called in workflows. That allows your developer tools automations to run without your attention, per defined schedule [7]. Explore documentation [6] for a detailed list of fields that Bitbucket supports.

The following table illustrates what fields Bitbucket integration require during authorization flow inside our workflow builder [4].

Demonstration of Bitbucket connection step inside WEXTL Workflow Builder [4].

FieldTypeHelp
Client IDRequired
text

OAuth consumer Client ID from Bitbucket workspace settings.

Client SecretRequired
password

OAuth consumer Client Secret. Set the consumer Callback URL to match this app and tick every permission in the scopes checklist.

Connect Bitbucket to popular apps on WEXTL

Enter a name of the other app you want to sync with Bitbucket below. Click on selected app to explore integration options with Bitbucket. If the app you search for is not available in WEXTL yet, you can use HTTP node [10] instead to integrate it directly.

Example automation with Bitbucket integration

Select Watch Pull Requests trigger from Bitbucket - this will be a starting point in your automation. Whenever event happens in Bitbucket, workflow will start [7] from Watch Pull Requests node.

Search for Create Pull Request Comment, connect it as the next step of integration sequence. You can use filters between Watch Pull Requests and Create Pull Request Comment, so only important data pass from Watch Pull Requests to the next step. WEXTL gives you full control over the process of Bitbucket automation. All parts of workflow are visible on the canvas [4].

Bitbucket on WEXTL has 120 modules for creating developer tools automations. Explore Bitbucket documentation for more.

Bitbucket
Watch Pull Requests
Databricks
Performs action
OR
Databricks
Triggers
Bitbucket
Create Pull Request Comment

Demonstration of how visual Bitbucket automation [6] looks in WEXTL.

Frequently asked questions

Common questions about automating Bitbucket in your workflows.

Try Bitbucket on WEXTL®

Claim your 3-day trial to build Bitbucket integrations and access every WEXTL® feature.

Cancel anytime.

References

List of sources used to gather information about the Bitbucket integration.

  1. Bitbucket integration source code, module specs and credentials implementation.
  2. Internal Bitbucket integration documentation, structured input and output parameters, scopes, and authentication methods.
  3. Official Bitbucket vendor API documentation — used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
  4. WEXTL® Visual Workflow Builder, anonymized data from our technical support team.
  5. WEXTL® Apps Library
  6. WEXTL® Bitbucket App Documentation
  7. WEXTL® Workflow Scheduler
  8. WEXTL® HTTP node documentation