naftiko: 1.0.0-alpha2 info: label: Atlassian The Jira Cloud platform REST API — Permissions description: 'Atlassian The Jira Cloud platform REST API — Permissions. 4 operations. Lead operation: Atlassian Get My Permissions. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Permissions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: jira-permissions baseUri: https://your-domain.atlassian.net description: Atlassian The Jira Cloud platform REST API — Permissions business capability. Self-contained, no shared references. resources: - name: rest-api-3-mypermissions path: /rest/api/3/mypermissions operations: - name: atlassiangetmypermissions method: GET description: Atlassian Get My Permissions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectKey in: query type: string description: The key of project. Ignored if `projectId` is provided. - name: projectId in: query type: string description: The ID of project. - name: issueKey in: query type: string description: The key of the issue. Ignored if `issueId` is provided. - name: issueId in: query type: string description: The ID of the issue. - name: permissions in: query type: string description: A list of permission keys. (Required) This parameter accepts a comma-separated list. To get the list of available permissions, use [Get all permissions](#api-re - name: projectUuid in: query type: string - name: projectConfigurationUuid in: query type: string - name: commentId in: query type: string description: The ID of the comment. - name: rest-api-3-permissions path: /rest/api/3/permissions operations: - name: atlassiangetallpermissions method: GET description: Atlassian Get All Permissions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: rest-api-3-permissions-check path: /rest/api/3/permissions/check operations: - name: atlassiangetbulkpermissions method: POST description: Atlassian Get Bulk Permissions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: rest-api-3-permissions-project path: /rest/api/3/permissions/project operations: - name: atlassiangetpermittedprojects method: POST description: Atlassian Get Permitted Projects 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: jira-permissions-rest port: 8080 description: REST adapter for Atlassian The Jira Cloud platform REST API — Permissions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/3/mypermissions name: rest-api-3-mypermissions description: REST surface for rest-api-3-mypermissions. operations: - method: GET name: atlassiangetmypermissions description: Atlassian Get My Permissions call: jira-permissions.atlassiangetmypermissions with: projectKey: rest.projectKey projectId: rest.projectId issueKey: rest.issueKey issueId: rest.issueId permissions: rest.permissions projectUuid: rest.projectUuid projectConfigurationUuid: rest.projectConfigurationUuid commentId: rest.commentId outputParameters: - type: object mapping: $. - path: /v1/api/3/permissions name: rest-api-3-permissions description: REST surface for rest-api-3-permissions. operations: - method: GET name: atlassiangetallpermissions description: Atlassian Get All Permissions call: jira-permissions.atlassiangetallpermissions outputParameters: - type: object mapping: $. - path: /v1/api/3/permissions/check name: rest-api-3-permissions-check description: REST surface for rest-api-3-permissions-check. operations: - method: POST name: atlassiangetbulkpermissions description: Atlassian Get Bulk Permissions call: jira-permissions.atlassiangetbulkpermissions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/3/permissions/project name: rest-api-3-permissions-project description: REST surface for rest-api-3-permissions-project. operations: - method: POST name: atlassiangetpermittedprojects description: Atlassian Get Permitted Projects call: jira-permissions.atlassiangetpermittedprojects with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: jira-permissions-mcp port: 9090 transport: http description: MCP adapter for Atlassian The Jira Cloud platform REST API — Permissions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-my-permissions description: Atlassian Get My Permissions hints: readOnly: true destructive: false idempotent: true call: jira-permissions.atlassiangetmypermissions with: projectKey: tools.projectKey projectId: tools.projectId issueKey: tools.issueKey issueId: tools.issueId permissions: tools.permissions projectUuid: tools.projectUuid projectConfigurationUuid: tools.projectConfigurationUuid commentId: tools.commentId outputParameters: - type: object mapping: $. - name: atlassian-get-all-permissions description: Atlassian Get All Permissions hints: readOnly: true destructive: false idempotent: true call: jira-permissions.atlassiangetallpermissions outputParameters: - type: object mapping: $. - name: atlassian-get-bulk-permissions description: Atlassian Get Bulk Permissions hints: readOnly: true destructive: false idempotent: false call: jira-permissions.atlassiangetbulkpermissions with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-permitted-projects description: Atlassian Get Permitted Projects hints: readOnly: true destructive: false idempotent: false call: jira-permissions.atlassiangetpermittedprojects with: body: tools.body outputParameters: - type: object mapping: $.