BitBucket

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

Integrate the BitBucket API with the OpenAI (ChatGPT) API

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

Chat with OpenAI (ChatGPT) API on New Branch (Instant) from BitBucket API
BitBucket + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on New Pull Request (Instant) from BitBucket API
BitBucket + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on New Commit (Instant) from BitBucket API
BitBucket + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on New Commit Comment (Instant) from BitBucket API
BitBucket + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on New Event from any Repository from BitBucket API
BitBucket + OpenAI (ChatGPT)
 
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
Chat with the OpenAI (ChatGPT) API

The Chat API, using the gpt-3.5-turbo or gpt-4 model. See docs here

 
Try it
Summarize Text with the OpenAI (ChatGPT) API

Summarizes text using the Chat API

 
Try it
Create Issue Comment with the BitBucket API

Creates a new issue comment. See docs here

 
Try it
Classify Items into Categories with the OpenAI (ChatGPT) API

Classify items into specific categories using the Chat API

 
Try it
Create Snippet Comment with the BitBucket API

Creates a new snippet comment. 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 OpenAI (ChatGPT)

OpenAI provides a suite of powerful AI models through its API, enabling developers to integrate advanced natural language processing and generative capabilities into their applications. Here’s an overview of the services offered by OpenAI's API:

Use Python or Node.js code to make fully authenticated API requests with your OpenAI account:

Connect OpenAI (ChatGPT)

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: {
    openai: {
      type: "app",
      app: "openai",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.openai.com/v1/models`,
      headers: {
        Authorization: `Bearer ${this.openai.$auth.api_key}`,
      },
    })
  },
})