Atlassian · Capability
Atlassian Bit Bucket Repositories API — Branches
Atlassian Bit Bucket Repositories API — Branches. 11 operations. Lead operation: Atlassian List Branch Restrictions. Self-contained Naftiko capability covering one Atlassian business surface.
What You Can Do
GET
Listbranchrestrictions
— Atlassian List Branch Restrictions
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions
POST
Createbranchrestrictionrule
— Atlassian Create Branch Restriction Rule
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions
DELETE
Deletebranchrestrictionrule
— Atlassian Delete Branch Restriction Rule
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions/{id}
GET
Getbranchrestrictionrule
— Atlassian Get Branch Restriction Rule
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions/{id}
PUT
Updatebranchrestrictionrule
— Atlassian Update Branch Restriction Rule
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions/{id}
GET
Listbranchesandtags
— Atlassian List Branches and Tags
/v1/repositories/{workspace}/{repo-slug}/refs
GET
Listopenbranches
— Atlassian List Open Branches
/v1/repositories/{workspace}/{repo-slug}/refs/branches
POST
Createbranch
— Atlassian Create Branch
/v1/repositories/{workspace}/{repo-slug}/refs/branches
DELETE
Deletebranch
— Atlassian Delete Branch
/v1/repositories/{workspace}/{repo-slug}/refs/branches/{name}
GET
Getbranch
— Atlassian Get Branch
/v1/repositories/{workspace}/{repo-slug}/refs/branches/{name}
GET
Gettherootdirectoryofthemainbranch
— Atlassian Get the Root Directory of the Main Branch
/v1/repositories/{workspace}/{repo-slug}/src
MCP Tools
atlassian-list-branch-restrictions
Atlassian List Branch Restrictions
read-only
idempotent
atlassian-create-branch-restriction-rule
Atlassian Create Branch Restriction Rule
atlassian-delete-branch-restriction-rule
Atlassian Delete Branch Restriction Rule
idempotent
atlassian-get-branch-restriction-rule
Atlassian Get Branch Restriction Rule
read-only
idempotent
atlassian-update-branch-restriction-rule
Atlassian Update Branch Restriction Rule
idempotent
atlassian-list-branches-and-tags
Atlassian List Branches and Tags
read-only
idempotent
atlassian-list-open-branches
Atlassian List Open Branches
read-only
idempotent
atlassian-create-branch
Atlassian Create Branch
atlassian-delete-branch
Atlassian Delete Branch
idempotent
atlassian-get-branch
Atlassian Get Branch
read-only
idempotent
atlassian-get-root-directory-main
Atlassian Get the Root Directory of the Main Branch
read-only
idempotent