Atlassian · Capability

Atlassian repositories/ — Branching Model

Atlassian repositories/ — Branching Model. 4 operations. Lead operation: Atlassian Get The Branching Model For A Repository. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianBranching Model

What You Can Do

GET
Atlassiangetthebranchingmodelforarepository — Atlassian Get The Branching Model For A Repository
/v1/repositories/{workspace}/{repo-slug}/branching-model
GET
Atlassiangetthebranchingmodelconfigforarepository — Atlassian Get The Branching Model Config For A Repository
/v1/repositories/{workspace}/{repo-slug}/branching-model/settings
PUT
Atlassianupdatethebranchingmodelconfigforarepository — Atlassian Update The Branching Model Config For A Repository
/v1/repositories/{workspace}/{repo-slug}/branching-model/settings
GET
Atlassiangettheeffectiveorcurrentlyappliedbranchingmodelforarepository — Atlassian Get The Effective, Or Currently Applied, Branching Model For A Repository
/v1/repositories/{workspace}/{repo-slug}/effective-branching-model

MCP Tools

atlassian-get-branching-model-repository

Atlassian Get The Branching Model For A Repository

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

Atlassian Get The Branching Model Config For A Repository

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

Atlassian Update The Branching Model Config For A Repository

idempotent
atlassian-get-effective-currently-applied

Atlassian Get The Effective, Or Currently Applied, Branching Model For A Repository

read-only idempotent

Capability Spec

repositories--branching-model.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian repositories/ — Branching Model
  description: 'Atlassian repositories/ — Branching Model. 4 operations. Lead operation: Atlassian Get The Branching Model
    For A Repository. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Branching Model
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: repositories--branching-model
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian repositories/ — Branching Model business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-branching-model
      path: /repositories/{workspace}/{repo_slug}/branching-model
      operations:
      - name: atlassiangetthebranchingmodelforarepository
        method: GET
        description: Atlassian Get The Branching Model For A Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-branching-model-settings
      path: /repositories/{workspace}/{repo_slug}/branching-model/settings
      operations:
      - name: atlassiangetthebranchingmodelconfigforarepository
        method: GET
        description: Atlassian Get The Branching Model Config For A Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: atlassianupdatethebranchingmodelconfigforarepository
        method: PUT
        description: Atlassian Update The Branching Model Config For A Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-effective-branching-model
      path: /repositories/{workspace}/{repo_slug}/effective-branching-model
      operations:
      - name: atlassiangettheeffectiveorcurrentlyappliedbranchingmodelforarepository
        method: GET
        description: Atlassian Get The Effective, Or Currently Applied, Branching Model For A Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: repositories--branching-model-rest
    port: 8080
    description: REST adapter for Atlassian repositories/ — Branching Model. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/repositories/{workspace}/{repo-slug}/branching-model
      name: repositories-workspace-repo-slug-branching-model
      description: REST surface for repositories-workspace-repo_slug-branching-model.
      operations:
      - method: GET
        name: atlassiangetthebranchingmodelforarepository
        description: Atlassian Get The Branching Model For A Repository
        call: repositories--branching-model.atlassiangetthebranchingmodelforarepository
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{workspace}/{repo-slug}/branching-model/settings
      name: repositories-workspace-repo-slug-branching-model-settings
      description: REST surface for repositories-workspace-repo_slug-branching-model-settings.
      operations:
      - method: GET
        name: atlassiangetthebranchingmodelconfigforarepository
        description: Atlassian Get The Branching Model Config For A Repository
        call: repositories--branching-model.atlassiangetthebranchingmodelconfigforarepository
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: atlassianupdatethebranchingmodelconfigforarepository
        description: Atlassian Update The Branching Model Config For A Repository
        call: repositories--branching-model.atlassianupdatethebranchingmodelconfigforarepository
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{workspace}/{repo-slug}/effective-branching-model
      name: repositories-workspace-repo-slug-effective-branching-model
      description: REST surface for repositories-workspace-repo_slug-effective-branching-model.
      operations:
      - method: GET
        name: atlassiangettheeffectiveorcurrentlyappliedbranchingmodelforarepository
        description: Atlassian Get The Effective, Or Currently Applied, Branching Model For A Repository
        call: repositories--branching-model.atlassiangettheeffectiveorcurrentlyappliedbranchingmodelforarepository
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repositories--branching-model-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian repositories/ — Branching Model. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-get-branching-model-repository
      description: Atlassian Get The Branching Model For A Repository
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repositories--branching-model.atlassiangetthebranchingmodelforarepository
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-branching-model-config
      description: Atlassian Get The Branching Model Config For A Repository
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repositories--branching-model.atlassiangetthebranchingmodelconfigforarepository
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-update-branching-model-config
      description: Atlassian Update The Branching Model Config For A Repository
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: repositories--branching-model.atlassianupdatethebranchingmodelconfigforarepository
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-effective-currently-applied
      description: Atlassian Get The Effective, Or Currently Applied, Branching Model For A Repository
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repositories--branching-model.atlassiangettheeffectiveorcurrentlyappliedbranchingmodelforarepository
      outputParameters:
      - type: object
        mapping: $.