Atlassian · Capability

Atlassian Bit Bucket Repositories API — Change

Atlassian Bit Bucket Repositories API — Change. 2 operations. Lead operation: Atlassian Get Issue Change Object. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianChange

What You Can Do

GET
Getissuechangeobject — Atlassian Get Issue Change Object
/v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/changes/{change-id}
DELETE
Removechangerequestforpullrequest — Atlassian Remove Change Request for Pull Request
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/request-changes

MCP Tools

atlassian-get-issue-change-object

Atlassian Get Issue Change Object

read-only idempotent
atlassian-remove-change-request-pull

Atlassian Remove Change Request for Pull Request

idempotent

Capability Spec

bitbucket-repositories-change.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Repositories API — Change
  description: 'Atlassian Bit Bucket Repositories API — Change. 2 operations. Lead operation: Atlassian Get Issue Change Object.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Change
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-repositories-change
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Repositories API — Change business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-issues-issue_id-changes-change_id
      path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes/{change_id}
      operations:
      - name: getissuechangeobject
        method: GET
        description: Atlassian Get Issue Change Object
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-request-changes
      path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes
      operations:
      - name: removechangerequestforpullrequest
        method: DELETE
        description: Atlassian Remove Change Request for Pull Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-repositories-change-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Repositories API — Change. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/changes/{change-id}
      name: repositories-workspace-repo-slug-issues-issue-id-changes-change-id
      description: REST surface for repositories-workspace-repo_slug-issues-issue_id-changes-change_id.
      operations:
      - method: GET
        name: getissuechangeobject
        description: Atlassian Get Issue Change Object
        call: bitbucket-repositories-change.getissuechangeobject
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/request-changes
      name: repositories-workspace-repo-slug-pullrequests-pull-request-id-request-changes
      description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-request-changes.
      operations:
      - method: DELETE
        name: removechangerequestforpullrequest
        description: Atlassian Remove Change Request for Pull Request
        call: bitbucket-repositories-change.removechangerequestforpullrequest
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-repositories-change-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Repositories API — Change. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-get-issue-change-object
      description: Atlassian Get Issue Change Object
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-repositories-change.getissuechangeobject
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-remove-change-request-pull
      description: Atlassian Remove Change Request for Pull Request
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-repositories-change.removechangerequestforpullrequest
      outputParameters:
      - type: object
        mapping: $.