naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Pull Requests API — Create description: 'Atlassian Bit Bucket Pull Requests API — Create. 3 operations. Lead operation: Atlassian Create Pull Request. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Create 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-create baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Pull Requests API — Create business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-pullrequests path: /repositories/{workspace}/{repo_slug}/pullrequests operations: - name: createpullrequest method: POST description: Atlassian Create Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-comments path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments operations: - name: createcommentonpullrequest method: POST description: Atlassian Create Comment on Pull Request 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-pullrequests-pull_request_id-tasks path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks operations: - name: createtaskonpullrequest method: POST description: Atlassian Create Task on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-pull-requests-create-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Pull Requests API — Create. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests name: repositories-workspace-repo-slug-pullrequests description: REST surface for repositories-workspace-repo_slug-pullrequests. operations: - method: POST name: createpullrequest description: Atlassian Create Pull Request call: bitbucket-pull-requests-create.createpullrequest with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/comments name: repositories-workspace-repo-slug-pullrequests-pull-request-id-comments description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-comments. operations: - method: POST name: createcommentonpullrequest description: Atlassian Create Comment on Pull Request call: bitbucket-pull-requests-create.createcommentonpullrequest with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/tasks name: repositories-workspace-repo-slug-pullrequests-pull-request-id-tasks description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-tasks. operations: - method: POST name: createtaskonpullrequest description: Atlassian Create Task on Pull Request call: bitbucket-pull-requests-create.createtaskonpullrequest with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-pull-requests-create-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Pull Requests API — Create. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-create-pull-request description: Atlassian Create Pull Request hints: readOnly: false destructive: false idempotent: false call: bitbucket-pull-requests-create.createpullrequest with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-create-comment-pull-request description: Atlassian Create Comment on Pull Request hints: readOnly: false destructive: false idempotent: false call: bitbucket-pull-requests-create.createcommentonpullrequest with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-create-task-pull-request description: Atlassian Create Task on Pull Request hints: readOnly: false destructive: false idempotent: false call: bitbucket-pull-requests-create.createtaskonpullrequest with: body: tools.body outputParameters: - type: object mapping: $.