Atlassian · Capability

Atlassian Bit Bucket Repositories API — Watching

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

Run with Naftiko AtlassianWatching

What You Can Do

DELETE
Stopwatchinganissue — Atlassian Stop Watching an Issue
/v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/watch
GET
Checkifcurrentuseriswatchingissue — Atlassian Check if Current User Is Watching Issue
/v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/watch

MCP Tools

atlassian-stop-watching-issue

Atlassian Stop Watching an Issue

idempotent
atlassian-check-if-current-user

Atlassian Check if Current User Is Watching Issue

read-only idempotent

Capability Spec

bitbucket-repositories-watching.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Repositories API — Watching
  description: 'Atlassian Bit Bucket Repositories API — Watching. 2 operations. Lead operation: Atlassian Stop Watching an
    Issue. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Watching
  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-watching
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Repositories API — Watching 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: checkifcurrentuseriswatchingissue
        method: GET
        description: Atlassian Check if Current User Is Watching Issue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-repositories-watching-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Repositories API — Watching. 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-watching.stopwatchinganissue
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: checkifcurrentuseriswatchingissue
        description: Atlassian Check if Current User Is Watching Issue
        call: bitbucket-repositories-watching.checkifcurrentuseriswatchingissue
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-repositories-watching-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Repositories API — Watching. 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-watching.stopwatchinganissue
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-check-if-current-user
      description: Atlassian Check if Current User Is Watching Issue
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-repositories-watching.checkifcurrentuseriswatchingissue
      outputParameters:
      - type: object
        mapping: $.