Bitbucket

Manage Bitbucket repositories, pull requests, and pipelines via API. Use when this capability is needed.

tomevault-io Updated

File contents

Bitbucket

Git repository hosting.

Environment

export BITBUCKET_USERNAME="xxxxxxxxxx"
export BITBUCKET_APP_PASSWORD="xxxxxxxxxx"

List Repositories

curl -u "$BITBUCKET_USERNAME:$BITBUCKET_APP_PASSWORD" "https://api.bitbucket.org/2.0/repositories/$BITBUCKET_USERNAME"

Create Pull Request

curl -X POST -u "$BITBUCKET_USERNAME:$BITBUCKET_APP_PASSWORD" \
  "https://api.bitbucket.org/2.0/repositories/{workspace}/{repo}/pullrequests" \
  -H "Content-Type: application/json" \
  -d '{"title": "Feature PR", "source": {"branch": {"name": "feature"}}, "destination": {"branch": {"name": "main"}}}'

Links


Converted and distributed by TomeVault Context snippets also available to append to your CLAUDE.md, GEMINI.md, and copilot-instructions.md — download at TomeVault

tomevault-io/skills-registry/tree/main/openclaw--skills--bitbucket commit b146f80b6b

Frequently asked questions

npx skillmds@latest add tomevault-io/bitbucket