Atlassian · Capability

Atlassian Bit Bucket Workspaces API — Branching

Atlassian Bit Bucket Workspaces API — Branching. 3 operations. Lead operation: Atlassian Get the Branching Model for a Project. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianBranching

What You Can Do

GET
Atlassiangetthebranchingmodelforaproject — Atlassian Get the Branching Model for a Project
/v1/workspaces/{workspace}/projects/{project-key}/branching-model
GET
Atlassiangetthebranchingmodelconfigforaproject — Atlassian Get the Branching Model Config for a Project
/v1/workspaces/{workspace}/projects/{project-key}/branching-model/settings
PUT
Atlassianupdatethebranchingmodelconfigforaproject — Atlassian Update the Branching Model Config for a Project
/v1/workspaces/{workspace}/projects/{project-key}/branching-model/settings

MCP Tools

atlassian-get-branching-model-project

Atlassian Get the Branching Model for a Project

read-only idempotent
atlassian-get-branching-model-config

Atlassian Get the Branching Model Config for a Project

read-only idempotent
atlassian-update-branching-model-config

Atlassian Update the Branching Model Config for a Project

idempotent

Capability Spec

bitbucket-workspaces-branching.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Workspaces API — Branching
  description: 'Atlassian Bit Bucket Workspaces API — Branching. 3 operations. Lead operation: Atlassian Get the Branching
    Model for a Project. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Branching
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-workspaces-branching
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Workspaces API — Branching business capability. Self-contained, no shared references.
    resources:
    - name: workspaces-workspace-projects-project_key-branching-model
      path: /workspaces/{workspace}/projects/{project_key}/branching-model
      operations:
      - name: atlassiangetthebranchingmodelforaproject
        method: GET
        description: Atlassian Get the Branching Model for a Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspace-projects-project_key-branching-model-settings
      path: /workspaces/{workspace}/projects/{project_key}/branching-model/settings
      operations:
      - name: atlassiangetthebranchingmodelconfigforaproject
        method: GET
        description: Atlassian Get the Branching Model Config for a Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassianupdatethebranchingmodelconfigforaproject
        method: PUT
        description: Atlassian Update the Branching Model Config for a Project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: bitbucket-workspaces-branching-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Workspaces API — Branching. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/workspaces/{workspace}/projects/{project-key}/branching-model
      name: workspaces-workspace-projects-project-key-branching-model
      description: REST surface for workspaces-workspace-projects-project_key-branching-model.
      operations:
      - method: GET
        name: atlassiangetthebranchingmodelforaproject
        description: Atlassian Get the Branching Model for a Project
        call: bitbucket-workspaces-branching.atlassiangetthebranchingmodelforaproject
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace}/projects/{project-key}/branching-model/settings
      name: workspaces-workspace-projects-project-key-branching-model-settings
      description: REST surface for workspaces-workspace-projects-project_key-branching-model-settings.
      operations:
      - method: GET
        name: atlassiangetthebranchingmodelconfigforaproject
        description: Atlassian Get the Branching Model Config for a Project
        call: bitbucket-workspaces-branching.atlassiangetthebranchingmodelconfigforaproject
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: atlassianupdatethebranchingmodelconfigforaproject
        description: Atlassian Update the Branching Model Config for a Project
        call: bitbucket-workspaces-branching.atlassianupdatethebranchingmodelconfigforaproject
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-workspaces-branching-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Workspaces API — Branching. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-get-branching-model-project
      description: Atlassian Get the Branching Model for a Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-branching.atlassiangetthebranchingmodelforaproject
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-branching-model-config
      description: Atlassian Get the Branching Model Config for a Project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-branching.atlassiangetthebranchingmodelconfigforaproject
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-branching-model-config
      description: Atlassian Update the Branching Model Config for a Project
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-workspaces-branching.atlassianupdatethebranchingmodelconfigforaproject
      outputParameters:
      - type: object
        mapping: $.