BitBucket

Version control repository hosting service

Integrate the BitBucket API with the Data Stores API

Setup the BitBucket API trigger to run a workflow which integrates with the Data Stores API. Pipedream's integration platform allows you to integrate BitBucket and Data Stores remarkably fast. Free for developers.

Add or update a single record with Data Stores API on New Commit (Instant) from BitBucket API
BitBucket + Data Stores
 
Try it
Add or update a single record with Data Stores API on New Pull Request (Instant) from BitBucket API
BitBucket + Data Stores
 
Try it
Add or update multiple records with Data Stores API on New Commit (Instant) from BitBucket API
BitBucket + Data Stores
 
Try it
Add or update multiple records with Data Stores API on New Pull Request (Instant) from BitBucket API
BitBucket + Data Stores
 
Try it
Delete a single record with Data Stores API on New Commit (Instant) from BitBucket API
BitBucket + Data Stores
 
Try it
New Commit (Instant) from the BitBucket API

Emit new event when a new commit is pushed to a branch. See docs here

 
Try it
New Pull Request (Instant) from the BitBucket API

Emit new event when a new pull request is created in a repository. See docs here

 
Try it
New Branch (Instant) from the BitBucket API

Emit new event when a new branch is created. See docs here

 
Try it
New Commit Comment (Instant) from the BitBucket API

Emit new event when a commit receives a comment. See docs here

 
Try it
New Event from any Repository from the BitBucket API

Emit new event when an event occurs from any repository belonging to the user. See docs here

 
Try it
Add or update a single record with the Data Stores API

Add or update a single record in your Pipedream Data Store.

 
Try it
Add or update multiple records with the Data Stores API

Add or update multiple records to your Pipedream Data Store.

 
Try it
Create Issue Comment with the BitBucket API

Creates a new issue comment. See docs here

 
Try it
Check for existence of key with the Data Stores API

Check if a key exists in your Pipedream Data Store or create one if it doesn't exist.

 
Try it
Create Snippet Comment with the BitBucket API

Creates a new snippet comment. See docs here

 
Try it

Overview of BitBucket

With the BitBucket API, you can programmatically interact with BitBucket, via
REST calls. This allows you to build apps and integrations on top of BitBucket,
customize and automate your workflows, and much more.

Here are some examples of what you can build with the BitBucket API:

  • Build integrations with 3rd party applications, such as CI/CD tools, chat
    applications, etc.
  • Create custom workflows and automate tasks
  • Build applications that interact with BitBucket (for example, a tool that
    helps you find repositories or users)
  • and much more!

Connect BitBucket

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    bitbucket: {
      type: "app",
      app: "bitbucket",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.bitbucket.org/2.0/user`,
      headers: {
        Authorization: `Bearer ${this.bitbucket.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Data Stores

1
2
3
4
5
6
7
8
9
10
11
export default defineComponent({
  props: {
    myDataStore: {
      type: "data_store",
    },
  },
  async run({ steps, $ }) {
    await this.myDataStore.set("key_here","Any serializable JSON as the value")
    return await this.myDataStore.get("key_here")
  },
})