naftiko: 1.0.0-alpha2 info: label: Atlassian rest/api/3/role/ — Project Roles description: 'Atlassian rest/api/3/role/ — Project Roles. 4 operations. Lead operation: Atlassian Delete Project Role. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Project Roles created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: rest-api-3-role--project-roles baseUri: https://your-domain.atlassian.net description: Atlassian rest/api/3/role/ — Project Roles business capability. Self-contained, no shared references. resources: - name: rest-api-3-role-id path: /rest/api/3/role/{id} operations: - name: atlassiandeleteprojectrole method: DELETE description: Atlassian Delete Project Role outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: The ID of the project role to delete. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs. required: true - name: swap in: query type: integer description: The ID of the project role that will replace the one being deleted. - name: atlassiangetprojectrolebyid method: GET description: Atlassian Get Project Role By Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs. required: true - name: atlassianpartialupdateprojectrole method: POST description: Atlassian Partial Update Project Role outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: atlassianfullyupdateprojectrole method: PUT description: Atlassian Fully Update Project Role outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs. required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: rest-api-3-role--project-roles-rest port: 8080 description: REST adapter for Atlassian rest/api/3/role/ — Project Roles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/3/role/{id} name: rest-api-3-role-id description: REST surface for rest-api-3-role-id. operations: - method: DELETE name: atlassiandeleteprojectrole description: Atlassian Delete Project Role call: rest-api-3-role--project-roles.atlassiandeleteprojectrole with: id: rest.id swap: rest.swap outputParameters: - type: object mapping: $. - method: GET name: atlassiangetprojectrolebyid description: Atlassian Get Project Role By Id call: rest-api-3-role--project-roles.atlassiangetprojectrolebyid with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: atlassianpartialupdateprojectrole description: Atlassian Partial Update Project Role call: rest-api-3-role--project-roles.atlassianpartialupdateprojectrole with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: atlassianfullyupdateprojectrole description: Atlassian Fully Update Project Role call: rest-api-3-role--project-roles.atlassianfullyupdateprojectrole with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-api-3-role--project-roles-mcp port: 9090 transport: http description: MCP adapter for Atlassian rest/api/3/role/ — Project Roles. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-delete-project-role description: Atlassian Delete Project Role hints: readOnly: false destructive: true idempotent: true call: rest-api-3-role--project-roles.atlassiandeleteprojectrole with: id: tools.id swap: tools.swap outputParameters: - type: object mapping: $. - name: atlassian-get-project-role-id description: Atlassian Get Project Role By Id hints: readOnly: true destructive: false idempotent: true call: rest-api-3-role--project-roles.atlassiangetprojectrolebyid with: id: tools.id outputParameters: - type: object mapping: $. - name: atlassian-partial-update-project-role description: Atlassian Partial Update Project Role hints: readOnly: false destructive: false idempotent: false call: rest-api-3-role--project-roles.atlassianpartialupdateprojectrole with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-fully-update-project-role description: Atlassian Fully Update Project Role hints: readOnly: false destructive: false idempotent: true call: rest-api-3-role--project-roles.atlassianfullyupdateprojectrole with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.