Atlassian · Capability

Atlassian Bit Bucket Repositories API — Stop

Atlassian Bit Bucket Repositories API — Stop. 2 operations. Lead operation: Atlassian Stop Watching an Issue. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianStop

What You Can Do

DELETE
Stopwatchinganissue — Atlassian Stop Watching an Issue
/v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/watch
POST
Stoppipeline — Atlassian Stop Pipeline
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/stoppipeline

MCP Tools

atlassian-stop-watching-issue

Atlassian Stop Watching an Issue

idempotent
atlassian-stop-pipeline

Atlassian Stop Pipeline

Capability Spec

bitbucket-repositories-stop.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Repositories API — Stop
  description: 'Atlassian Bit Bucket Repositories API — Stop. 2 operations. Lead operation: Atlassian Stop Watching an Issue.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Stop
  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-stop
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Repositories API — Stop business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-issues-issue_id-watch
      path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch
      operations:
      - name: stopwatchinganissue
        method: DELETE
        description: Atlassian Stop Watching an Issue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-stopPipeline
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/stopPipeline
      operations:
      - name: stoppipeline
        method: POST
        description: Atlassian Stop Pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-repositories-stop-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Repositories API — Stop. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/watch
      name: repositories-workspace-repo-slug-issues-issue-id-watch
      description: REST surface for repositories-workspace-repo_slug-issues-issue_id-watch.
      operations:
      - method: DELETE
        name: stopwatchinganissue
        description: Atlassian Stop Watching an Issue
        call: bitbucket-repositories-stop.stopwatchinganissue
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/stoppipeline
      name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-stoppipeline
      description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-stopPipeline.
      operations:
      - method: POST
        name: stoppipeline
        description: Atlassian Stop Pipeline
        call: bitbucket-repositories-stop.stoppipeline
        with:
          workspace: rest.workspace
          repo_slug: rest.repo_slug
          pipeline_uuid: rest.pipeline_uuid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-repositories-stop-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Repositories API — Stop. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-stop-watching-issue
      description: Atlassian Stop Watching an Issue
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-repositories-stop.stopwatchinganissue
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-stop-pipeline
      description: Atlassian Stop Pipeline
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bitbucket-repositories-stop.stoppipeline
      with:
        workspace: tools.workspace
        repo_slug: tools.repo_slug
        pipeline_uuid: tools.pipeline_uuid
      outputParameters:
      - type: object
        mapping: $.