naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Repositories API — State description: 'Atlassian Bit Bucket Repositories API — State. 3 operations. Lead operation: Atlassian Modify the State of an Issue. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - State 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-state baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Repositories API — State 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: modifythestateofanissue method: POST description: Atlassian Modify the State of an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-override-settings path: /repositories/{workspace}/{repo_slug}/override-settings operations: - name: retrievetheinheritancestateforrepositorysettings method: GET description: Atlassian Retrieve the Inheritance State for Repository Settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: settheinheritancestateforrepositorysettings method: PUT description: Atlassian Set the Inheritance State for Repository Settings outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-repositories-state-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Repositories API — State. 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: POST name: modifythestateofanissue description: Atlassian Modify the State of an Issue call: bitbucket-repositories-state.modifythestateofanissue with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/override-settings name: repositories-workspace-repo-slug-override-settings description: REST surface for repositories-workspace-repo_slug-override-settings. operations: - method: GET name: retrievetheinheritancestateforrepositorysettings description: Atlassian Retrieve the Inheritance State for Repository Settings call: bitbucket-repositories-state.retrievetheinheritancestateforrepositorysettings outputParameters: - type: object mapping: $. - method: PUT name: settheinheritancestateforrepositorysettings description: Atlassian Set the Inheritance State for Repository Settings call: bitbucket-repositories-state.settheinheritancestateforrepositorysettings outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-repositories-state-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Repositories API — State. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-modify-state-issue description: Atlassian Modify the State of an Issue hints: readOnly: false destructive: false idempotent: false call: bitbucket-repositories-state.modifythestateofanissue with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-retrieve-inheritance-state-repository description: Atlassian Retrieve the Inheritance State for Repository Settings hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-state.retrievetheinheritancestateforrepositorysettings outputParameters: - type: object mapping: $. - name: atlassian-set-inheritance-state-repository description: Atlassian Set the Inheritance State for Repository Settings hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-state.settheinheritancestateforrepositorysettings outputParameters: - type: object mapping: $.