Atlassian · Capability

Atlassian Bit Bucket Repositories API — Changes

Atlassian Bit Bucket Repositories API — Changes. 3 operations. Lead operation: Atlassian List Changes on an Issue. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianChanges

What You Can Do

GET
Listchangesonanissue — Atlassian List Changes on an Issue
/v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/changes
GET
Listchangesinpullrequest — Atlassian List Changes in Pull Request
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/diff
POST
Requestchangesforpullrequest — Atlassian Request Changes for Pull Request
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/request-changes

MCP Tools

atlassian-list-changes-issue

Atlassian List Changes on an Issue

read-only idempotent
atlassian-list-changes-pull-request

Atlassian List Changes in Pull Request

read-only idempotent
atlassian-request-changes-pull-request

Atlassian Request Changes for Pull Request

Capability Spec

bitbucket-repositories-changes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Repositories API — Changes
  description: 'Atlassian Bit Bucket Repositories API — Changes. 3 operations. Lead operation: Atlassian List Changes on an
    Issue. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Changes
  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-changes
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Repositories API — Changes business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-issues-issue_id-changes
      path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes
      operations:
      - name: listchangesonanissue
        method: GET
        description: Atlassian List Changes on an Issue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: Query string to narrow down the response. See
        - name: sort
          in: query
          type: string
          description: Name of a response property to sort results. See
    - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-diff
      path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diff
      operations:
      - name: listchangesinpullrequest
        method: GET
        description: Atlassian List Changes in Pull Request
        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: requestchangesforpullrequest
        method: POST
        description: Atlassian Request Changes 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-changes-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Repositories API — Changes. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/changes
      name: repositories-workspace-repo-slug-issues-issue-id-changes
      description: REST surface for repositories-workspace-repo_slug-issues-issue_id-changes.
      operations:
      - method: GET
        name: listchangesonanissue
        description: Atlassian List Changes on an Issue
        call: bitbucket-repositories-changes.listchangesonanissue
        with:
          q: rest.q
          sort: rest.sort
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/diff
      name: repositories-workspace-repo-slug-pullrequests-pull-request-id-diff
      description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-diff.
      operations:
      - method: GET
        name: listchangesinpullrequest
        description: Atlassian List Changes in Pull Request
        call: bitbucket-repositories-changes.listchangesinpullrequest
        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: POST
        name: requestchangesforpullrequest
        description: Atlassian Request Changes for Pull Request
        call: bitbucket-repositories-changes.requestchangesforpullrequest
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-repositories-changes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Repositories API — Changes. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-list-changes-issue
      description: Atlassian List Changes on an Issue
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-repositories-changes.listchangesonanissue
      with:
        q: tools.q
        sort: tools.sort
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-list-changes-pull-request
      description: Atlassian List Changes in Pull Request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-repositories-changes.listchangesinpullrequest
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-request-changes-pull-request
      description: Atlassian Request Changes for Pull Request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bitbucket-repositories-changes.requestchangesforpullrequest
      outputParameters:
      - type: object
        mapping: $.