让你的 AI Agent 连接 Bitbucket

选择工作区与仓库,查看拉取请求或比较构建运行。

41 个工具 OAuth

试试这些 Bitbucket 任务

将提示词复制到已安装 oo Skill 的 Agent,补充页面链接和原始笔记后执行。

oo Skill Bitbucket

整理拉取请求讨论

读取拉取请求与评论,整理评审交接资料。

/oo Bitbucket: 读取 Bitbucket 工作区[工作区]、仓库[仓库]的拉取请求[PR ID]与评论,整理状态、描述及讨论中待回答的问题。

查看流水线运行

比较运行记录并查看指定流水线。

/oo Bitbucket: 列出 Bitbucket 工作区[工作区]、仓库[仓库]的流水线,读取[流水线 UUID]并整理返回的运行状态与时间。

开始使用 Bitbucket

  1. 安装 OOMOL

    在 Agent 中配置 oo CLI 和 oo Skill。

    安装 OOMOL →
  2. 连接 Bitbucket

    授权 Bitbucket 账号。

    连接 Bitbucket →
  3. 向 Agent 交代任务

    使用 /oo,说明要读取的页面、修改的内容和保存位置。

    连接指南 →

选择你的 Agent

  • 有权访问任务所需工作区与仓库。
  • 通过工作区与仓库 slug 或 UUID 指定仓库。合并或运行流水线等修改需在请求中明确说明。

Bitbucket 工具

这个连接访问 Bitbucket 仓库资料、分支、提交、拉取请求与 Pipelines 操作。

拉取请求与评论

查看评审并执行明确要求的拉取请求操作。

流水线运行

查看运行,或按要求启动和停止流水线。

41 个工具

Get Current User

获取当前经过身份验证的 Bitbucket 用户。

bitbucket.get_current_user

List Workspaces

列出可供经过身份验证的 Bitbucket 用户使用的工作区。

bitbucket.list_workspaces

Get Workspace

通过 slug 或 UUID 获取 Bitbucket 工作区。

bitbucket.get_workspace

List Workspace Members

列出 Bitbucket 工作区的成员。

bitbucket.list_workspace_members

List Workspace Projects

列出 Bitbucket 工作区中的项目。

bitbucket.list_workspace_projects

List Repositories

列出 Bitbucket 工作区中的仓库。

bitbucket.list_repositories

Get Repository

通过工作区和仓库 slug 或 UUID 获取 Bitbucket 仓库。

bitbucket.get_repository

Delete Repository

永久删除 Bitbucket 仓库。

bitbucket.delete_repository

List Branches

列出 Bitbucket 仓库中的分支。

bitbucket.list_branches

Get Branch

获取 Bitbucket 仓库中的分支。

bitbucket.get_branch

Create Branch

在 Bitbucket 仓库中从提交哈希或现有修订创建分支。

bitbucket.create_branch

Delete Branch

从 Bitbucket 仓库删除分支。

bitbucket.delete_branch

List Tags

列出 Bitbucket 仓库中的标签。

bitbucket.list_tags

List Commits

列出 Bitbucket 仓库中的提交,可选择从某个修订开始。

bitbucket.list_commits

Get Commit

从 Bitbucket 仓库获取提交。

bitbucket.get_commit

List Pull Requests

列出 Bitbucket 仓库中的拉取请求。

bitbucket.list_pull_requests

Get Pull Request

从 Bitbucket 仓库获取拉取请求。

bitbucket.get_pull_request

Create Pull Request

在 Bitbucket 仓库中创建拉取请求。

bitbucket.create_pull_request

Merge Pull Request

合并 Bitbucket 拉取请求。

bitbucket.merge_pull_request

Get Pull Request Merge Task Status

获取异步 Bitbucket 拉取请求合并任务的状态。

bitbucket.get_pull_request_merge_task_status

Decline Pull Request

拒绝 Bitbucket 拉取请求。

bitbucket.decline_pull_request

Approve Pull Request

批准 Bitbucket 拉取请求。

bitbucket.approve_pull_request

List Pull Request Comments

列出 Bitbucket 拉取请求上的评论。

bitbucket.list_pull_request_comments

Create Pull Request Comment

在 Bitbucket 拉取请求上创建评论。

bitbucket.create_pull_request_comment

List Issues

列出仍支持已弃用 Bitbucket 问题跟踪器的仓库中的问题。

bitbucket.list_issues

Get Issue

从仍支持已弃用 Bitbucket 问题跟踪器的仓库获取问题。

bitbucket.get_issue

Create Issue

在仍支持已弃用 Bitbucket 问题跟踪器的仓库中创建问题。

bitbucket.create_issue

Update Issue

更新仍支持已弃用 Bitbucket 问题跟踪器的仓库中的问题。

bitbucket.update_issue

List Issue Comments

列出仍支持已弃用 Bitbucket 问题跟踪器的仓库中的问题评论。

bitbucket.list_issue_comments

Create Issue Comment

在仍支持已弃用 Bitbucket 问题跟踪器的仓库中创建问题评论。

bitbucket.create_issue_comment

List Snippets

列出由 Bitbucket 工作区拥有或通过其可见的代码片段。

bitbucket.list_snippets

Get Snippet

通过工作区和编码的代码片段 ID 获取 Bitbucket 代码片段。

bitbucket.get_snippet

List Pipelines

列出 Bitbucket 仓库的 Pipelines 运行。

bitbucket.list_pipelines

Get Pipeline

从 Bitbucket 仓库获取 Pipelines 运行。

bitbucket.get_pipeline

Run Pipeline

为分支、标签或提交触发 Bitbucket Pipelines 运行。

bitbucket.run_pipeline

Stop Pipeline

停止正在运行的 Bitbucket 管道。

bitbucket.stop_pipeline

List Pipeline Variables

列出仓库级别的 Bitbucket Pipelines 变量。

bitbucket.list_pipeline_variables

Create Pipeline Variable

创建仓库级别的 Bitbucket Pipelines 变量。

bitbucket.create_pipeline_variable

Update Pipeline Variable

替换仓库级别的 Bitbucket Pipelines 变量。

bitbucket.update_pipeline_variable

Delete Pipeline Variable

删除仓库级别的 Bitbucket Pipelines 变量。

bitbucket.delete_pipeline_variable

List Repository Runners

列出为 Bitbucket 仓库配置的 Pipelines 运行器。

bitbucket.list_repository_runners

常见问题

如何选择仓库?

同时提供工作区与仓库的 slug 或 UUID,可通过工作区和仓库列表查找标识。

拉取请求摘要包含完整代码差异吗?

现有评审操作返回拉取请求资料与评论,不获取代码差异或仓库文件正文。

合并仍在处理时怎么办?

合并可能返回异步任务。使用任务 ID 与拉取请求标识查看合并状态。

连接 Bitbucket

关于 Bitbucket ↗