naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Pull Requests API — Get description: 'Atlassian Bit Bucket Pull Requests API — Get. 7 operations. Lead operation: Atlassian Get Pull Request. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Get 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-get baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Pull Requests API — Get business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-pullrequests-pull_request_id path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id} operations: - name: getpullrequest method: GET description: Atlassian Get Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-comments-comment_i path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} operations: - name: getcommentonpullrequest method: GET description: Atlassian Get Comment on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-diffstat path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat operations: - name: getthediffstatforpullrequest method: GET description: Atlassian Get the Diff Stat for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-merge-task-status- path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id} operations: - name: getthemergetaskstatusforpullrequest method: GET description: Atlassian Get the Merge Task Status for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-patch path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/patch operations: - name: getthepatchforpullrequest method: GET description: Atlassian Get the Patch for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-tasks-task_id path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id} operations: - name: gettaskonpullrequest method: GET description: Atlassian Get Task on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key- path: /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} operations: - name: getpullrequestapplicationproperty method: GET description: Atlassian Get Pull Request Application Property outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The repository container; either the workspace slug or the UUID in curly braces. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: pullrequest_id in: path type: string description: The pull request ID. required: true - name: app_key in: path type: string description: The key of the Connect app. required: true - name: property_name in: path type: string description: The name of the property. required: true authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-pull-requests-get-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Pull Requests API — Get. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id. operations: - method: GET name: getpullrequest description: Atlassian Get Pull Request call: bitbucket-pull-requests-get.getpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/comments/{comment-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id-comments-comment-i description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-comments-comment_i. operations: - method: GET name: getcommentonpullrequest description: Atlassian Get Comment on Pull Request call: bitbucket-pull-requests-get.getcommentonpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/diffstat name: repositories-workspace-repo-slug-pullrequests-pull-request-id-diffstat description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-diffstat. operations: - method: GET name: getthediffstatforpullrequest description: Atlassian Get the Diff Stat for Pull Request call: bitbucket-pull-requests-get.getthediffstatforpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/merge/task-status/{task-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id-merge-task-status description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-merge-task-status-. operations: - method: GET name: getthemergetaskstatusforpullrequest description: Atlassian Get the Merge Task Status for Pull Request call: bitbucket-pull-requests-get.getthemergetaskstatusforpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/patch name: repositories-workspace-repo-slug-pullrequests-pull-request-id-patch description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-patch. operations: - method: GET name: getthepatchforpullrequest description: Atlassian Get the Patch for Pull Request call: bitbucket-pull-requests-get.getthepatchforpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/tasks/{task-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id-tasks-task-id description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-tasks-task_id. operations: - method: GET name: gettaskonpullrequest description: Atlassian Get Task on Pull Request call: bitbucket-pull-requests-get.gettaskonpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name} name: repositories-workspace-repo-slug-pullrequests-pullrequest-id-properties-app-key description: REST surface for repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key-. operations: - method: GET name: getpullrequestapplicationproperty description: Atlassian Get Pull Request Application Property call: bitbucket-pull-requests-get.getpullrequestapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug pullrequest_id: rest.pullrequest_id app_key: rest.app_key property_name: rest.property_name outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-pull-requests-get-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Pull Requests API — Get. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-pull-request description: Atlassian Get Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-pull-requests-get.getpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-comment-pull-request description: Atlassian Get Comment on Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-pull-requests-get.getcommentonpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-diff-stat-pull description: Atlassian Get the Diff Stat for Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-pull-requests-get.getthediffstatforpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-merge-task-status description: Atlassian Get the Merge Task Status for Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-pull-requests-get.getthemergetaskstatusforpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-patch-pull-request description: Atlassian Get the Patch for Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-pull-requests-get.getthepatchforpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-task-pull-request description: Atlassian Get Task on Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-pull-requests-get.gettaskonpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-pull-request-application description: Atlassian Get Pull Request Application Property hints: readOnly: true destructive: false idempotent: true call: bitbucket-pull-requests-get.getpullrequestapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug pullrequest_id: tools.pullrequest_id app_key: tools.app_key property_name: tools.property_name outputParameters: - type: object mapping: $.