BitBucket

Bitbucket Cloud is a Git-based code and CI/CD tool optimized for teams using Jira.

Integrate the BitBucket API with the Google Drive API

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

Add File Sharing Preference with Google Drive API on New Commit (Instant) from BitBucket API
BitBucket + Google Drive
 
Try it
Add File Sharing Preference with Google Drive API on New Pull Request (Instant) from BitBucket API
BitBucket + Google Drive
 
Try it
Copy File with Google Drive API on New Commit (Instant) from BitBucket API
BitBucket + Google Drive
 
Try it
Copy File with Google Drive API on New Pull Request (Instant) from BitBucket API
BitBucket + Google Drive
 
Try it
Create a New File with Google Drive API on New Commit (Instant) from BitBucket API
BitBucket + Google Drive
 
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
Changes to Specific Files from the Google Drive API

Watches for changes to specific files, emitting an event any time a change is made to one of those files. To watch for changes to shared drive files, use the Changes to Specific Files (Shared Drive) source instead.

 
Try it
Changes to Specific Files (Shared Drive) from the Google Drive API

Watches for changes to specific files in a shared drive, emitting an event any time a change is made to one of those files

 
Try it
New Branch (Instant) from the BitBucket API

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

 
Try it
Add File Sharing Preference with the Google Drive API

Add a sharing permission to the sharing preferences of a file or folder and provide a sharing URL. See the docs for more information

 
Try it
Create Issue Comment with the BitBucket API

Creates a new issue comment. See docs here

 
Try it
Create Snippet Comment with the BitBucket API

Creates a new snippet comment. See docs here

 
Try it
Copy File with the Google Drive API

Create a copy of the specified file. See the docs for more information

 
Try it
Creates a new issue with the BitBucket API

Creates a new issue. See docs here

 
Try it

Overview of BitBucket

The BitBucket API taps the potential of BitBucket's Git-based version control system, enabling you to automate workflows around code commits, pull requests, and overall repository management. With this API, you can streamline the collaboration process, enforce coding standards, or integrate with other tools to create a cohesive development ecosystem. Pipedream, as a serverless integration and compute platform, provides a seamless environment to connect BitBucket with various apps and services, enabling you to harness its API for efficient, customized automations.

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}`,
      },
    })
  },
})

Overview of Google Drive

Using the Google Drive API, you can build applications that:

  • Create and manage files and folders
  • Download and upload files
  • Share and organize files
  • Search for files
  • Track changes to files
  • And much more!

Connect Google Drive

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: {
    google_drive: {
      type: "app",
      app: "google_drive",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.google_drive.$auth.oauth_access_token}`,
      },
    })
  },
})