Atlassian · Capability

Atlassian Bit Bucket Teams API — Update

Atlassian Bit Bucket Teams API — Update. 1 operations. Lead operation: Atlassian Update Variable for Team. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianUpdate

What You Can Do

PUT
Updatevariableforteam — Atlassian Update Variable for Team
/v1/teams/{username}/pipelines-config/variables/{variable-uuid}

MCP Tools

atlassian-update-variable-team

Atlassian Update Variable for Team

idempotent

Capability Spec

bitbucket-teams-update.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Teams API — Update
  description: 'Atlassian Bit Bucket Teams API — Update. 1 operations. Lead operation: Atlassian Update Variable for Team.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Update
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-teams-update
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Teams API — Update business capability. Self-contained, no shared references.
    resources:
    - name: teams-username-pipelines_config-variables-variable_uuid
      path: /teams/{username}/pipelines_config/variables/{variable_uuid}
      operations:
      - name: updatevariableforteam
        method: PUT
        description: Atlassian Update Variable for Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          description: The account.
          required: true
        - name: variable_uuid
          in: path
          type: string
          description: The UUID of the variable.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-teams-update-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Teams API — Update. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/teams/{username}/pipelines-config/variables/{variable-uuid}
      name: teams-username-pipelines-config-variables-variable-uuid
      description: REST surface for teams-username-pipelines_config-variables-variable_uuid.
      operations:
      - method: PUT
        name: updatevariableforteam
        description: Atlassian Update Variable for Team
        call: bitbucket-teams-update.updatevariableforteam
        with:
          username: rest.username
          variable_uuid: rest.variable_uuid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-teams-update-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Teams API — Update. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: atlassian-update-variable-team
      description: Atlassian Update Variable for Team
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: bitbucket-teams-update.updatevariableforteam
      with:
        username: tools.username
        variable_uuid: tools.variable_uuid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.