https://api.bitbucket.org/2.0 and carry HTTP basic authentication with the username and key you enter when connecting.
What the skill can do
API connector: 335 actions, as they appear in the skill panel. 156 of them create, change or delete something in Bitbucket; mark those under These actions need approval when you add the skill to an agent.- Pipeline configuration (38): Delete Pipeline Caches By Name, Get Pipeline Config By Repo, Update Pipeline Config By Repo, Create Schedule By Repo, Get Schedule By Uuid, Delete Variable By Uuid, Delete Schedule By Uuid, Update Ssh Key Pair By Repo, Update Known Host By Uuid, Delete Known Host By Uuid, Get Variable By Uuid, Update Variable By Uuid, Update Schedule By Uuid, Delete Ssh Key Pair By Repo, and 24 more
- Pull request service (30): Get Pull Requests By Repo, Get Pull Request Activity By Repo, Update Pull Request By Id, Get Pull Request Activity By Id, Create Pull Request Approval By Id, Get Pull Request Comments By Id, Create Pull Request By Repo, Get Pull Request By Id, Delete Pull Request Approval By Id, Get Pull Request Comment By Id, Delete Comment Resolve By Id, Get Pull Request Commits By Id, Create Pull Request Merge By Id, Get Pull Request Tasks By Id, and 16 more
- Issue tracking (27): Get Issues By Repo, Create Issue Export Task By Repo, Get Issue Import Status By Repo, Create Issue Import By Repo, Get Issue By Id, Create Issue By Repo, Get Issue Export Zip By Task Id, Update Issue By Id, Get Issue Comments By Issue Id, Create Issue Comment By Issue Id, Update Issue Comment By Id, Delete Issue By Id, Create Issue Attachment By Issue Id, Get Issue Changes By Issue Id, and 13 more
- Pipeline execution (26): Get Pipelines By Repo, Create Pipeline For Repo, Get Cache Content Uri By Uuid, Create Repository Runner By Repo, Get Repository Runner By Uuid, Get Pipeline Step By Uuid, Get Step Log By Step Uuid, Get Test Reports By Step Uuid, Get Pipeline Caches By Repo, Get Pipeline By Uuid, Get Pipeline Steps By Uuid, Get Container Log By Log Uuid, Get Test Case Reasons By Case Uuid, Delete Pipeline Cache By Uuid, and 12 more
- Permission controls (23): Get Repo Group Permissions, Delete Repo Group Permission By Slug, Get Repo User Permission By Id, Update Repo Group Permission By Slug, Get Repo User Permissions, Get Repo Group Permission By Slug, Update Repo User Permission By Id, Delete Repo User Permission By Id, Get User Repository Permissions, Get User Workspace Permissions, Get User Role By Workspace, Get Workspace Member Permissions, Get Workspace Repository Permissions, Get Repo Permissions By Workspace Repo, and 9 more
- Snippet service (21): Update Snippet Comment By Id, Get Snippet Watchers By Id, Get Snippet Version By Node Id, Update Snippet Version By Node Id, Delete Snippet Version By Node Id, Delete Snippet By Id, Get Snippet Watch Status By Id, Create Snippet Watch By Id, Delete Snippet Watch By Id, Get Snippets For User Access, Get Snippets By Workspace, Create Snippet By Workspace, Get Snippet By Id, Update Snippet By Id, and 7 more
- Commit service (20): Get Commit By Hash, Delete Commit Approval By Hash, Create Commit Comment By Hash, Create Commit Approval By Hash, Update Commit Comment By Id, Get Commit Comment By Id, Delete Commit Comment By Id, Get Pull Requests For Commit Hash, Get Commit Comments By Hash, Get Commit Property By App Key Name, Build Statuses Get Commit Statuses By Hash, Get Commits By Revision, Find Commits By Revision, Find Commits For Repository, and 6 more
- Repository management (19): Get All Public Repositories, Get Repositories By Workspace, Update Repository By Slug, Delete Repository By Slug, Get Repository By Slug, Create Repository By Slug, Get Issue Components By Repo, Get Issue Component By Id, Get Forks By Repo, Create Fork By Repo, Get Override Settings By Repo, Update Override Settings By Repo, Create Tag By Repo, Create Branch By Repo, and 5 more
- Key management (18): Get Deploy Keys By Repo, Update Deploy Key By Id, Get Deploy Key By Id, Create Deploy Key For Repo, Delete Deploy Key By Id, Delete Gpg Key By Fingerprint, Get Ssh Key By Id, Update Ssh Key By Id, Get Gpg Key By Fingerprint, Create Ssh Key For User, Get Gpg Keys By User, Create Gpg Key For User, Get Ssh Keys By User, Delete Ssh Key By Id, and 4 more
- Addon framework (17): Delete App Installation, Get App Linker By Key, Get All App Linkers, Update Linker Values By Key, Get All Linker Values By Key, Delete All Linker Values By Key, Update App Installation, Create Linker Value By Key, Get Linker Value By Id, Delete Linker Value By Id, Delete Commit Property By App Key Name, Update Commit Property By App Key Name, Update Repository Property By App Key Name, Get Pull Request Property By App Key Name, and 3 more
- Branch governance (14): Get Branch Restrictions By Repo, Create Branch Restriction By Repo, Get Branch Restriction By Id, Update Branch Restriction By Id, Delete Branch Restriction By Id, Create Default Reviewer By Id, Delete Default Reviewer By Id, Get Default Reviewers By Repo, Get Default Reviewer By Id, Get Effective Default Reviewers By Repo, Create Project Reviewer By Id, Get Project Reviewer By Id, Delete Project Reviewer By Id, Get Default Reviewers By Project Key
- Webhook events (12): Get Webhook Subject Types, Get Webhook Events By Subject Type, Update Repository Webhook By Id, Get Repository Webhooks By Repo, Get Repository Webhook By Id, Delete Repository Webhook By Id, Create Repository Webhook By Repo, Update Workspace Webhook By Id, Delete Workspace Webhook By Id, Get Workspace Webhook By Id, Get Workspace Webhooks By Workspace, Create Workspace Webhook By Workspace
- Code insights (9): Get Report By Commit Hash Id, Delete Annotation By Report Id, Update Report By Commit Hash Id, Update Annotation By Report Id, Get Annotations By Report Id, Create Annotations By Report Id, Get Annotation By Report Id, Delete Report By Commit Hash Id, Get Reports For Commit Hash
- Source browsing (9): Delete Branch By Name, Get Tags By Repo, Get Refs By Repo, Get Branches By Repo, Get Root Source By Repo, Create Commit By File Upload, Get Snippet File By Path, Get Snippet File By Node Path, Get Source By Commit Path
- Branching model (8): Get Branching Model By Repo, Get Branching Model Settings By Repo, Update Branching Model Settings By Repo, Get Effective Branching Model By Repo, Get Branch By Name, Get Branching Model By Project Key, Update Branching Model Settings By Project Key, Get Branching Model Settings By Project Key
- Code diffing (7): Get Diff By Spec, Get Diffstat By Spec, Get Patch By Spec, Get Merge Base By Revspec, Get Pull Request Diffstat By Id, Get Snippet Patch By Revision, Get Snippet Diff By Revision
- Deployment service (6): Create Env Variable By Env Uuid, Update Env Variable By Uuid, Delete Env Variable By Uuid, Get Deployment By Uuid, Get Deployments By Repo, Get Env Variables By Env Uuid
- Environment configuration (5): Create Environment By Repo, Get Environment By Uuid, Update Environment By Uuid, Delete Environment By Uuid, Get Environments By Repo
- Project management (5): Delete Project By Key, Get Projects By Workspace, Create Project By Workspace, Get Project By Key, Update Project By Key
- File downloads (4): Create Download Artifact By Repo, Get Downloads By Repo, Get Download Artifact By Filename, Delete Download Artifact By Filename
- Account profile (4): Search Code By Team, Get Current User Profile, Get User Profile By Id, Search Code By User
- Workspace management (4): Get User Workspaces, Get Workspace By Slug, Get Workspaces For User, Search Code By Workspace
- Build statuses (3): Create Build Status For Commit, Get Build Status By Key, Update Build Status By Key
- Milestone tracking (2): Get Milestones By Repo, Get Milestone By Id
- Email directory (2): Get User Emails, Get User Email By Address
- Member directory (2): Get Members By Workspace, Get Member By Id
Connect Bitbucket
In Xpander Chat, open the agent’s settings, click Add skill, and search for Bitbucket. The connect dialog asks for a connection name and whether the connection is for the Organization (one shared account) or Personal (your own account, so the agent acts with your permissions where systems allow). On an agent other people use, a personal connection runs their requests as you unless the binding requires each person’s own sign-in; see whose credential a shared agent uses. Bitbucket connects with an API key. Create the key in Bitbucket, paste it into the dialog, and click Connect. The key goes to the vault; the agent references it and never sees the value. Calls go tohttps://api.bitbucket.org/2.0.

