Atlassian · Capability

Atlassian Bit Bucket Pull Requests API — Change

Atlassian Bit Bucket Pull Requests API — Change. 1 operations. Lead operation: Atlassian Remove Change Request for Pull Request. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianChange

What You Can Do

DELETE
Removechangerequestforpullrequest — Atlassian Remove Change Request for Pull Request
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/request-changes

MCP Tools

atlassian-remove-change-request-pull

Atlassian Remove Change Request for Pull Request

idempotent

Capability Spec

bitbucket-pull-requests-change.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Pull Requests API — Change
  description: 'Atlassian Bit Bucket Pull Requests API — Change. 1 operations. Lead operation: Atlassian Remove Change Request
    for Pull Request. 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-pull-requests-change
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Pull Requests API — Change business capability. Self-contained, no shared references.
    resources:
    - 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-pull-requests-change-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Pull Requests API — Change. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - 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-pull-requests-change.removechangerequestforpullrequest
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-pull-requests-change-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Pull Requests API — Change. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-remove-change-request-pull
      description: Atlassian Remove Change Request for Pull Request
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-pull-requests-change.removechangerequestforpullrequest
      outputParameters:
      - type: object
        mapping: $.