naftiko: 1.0.0-alpha2 info: label: Atlassian rest/api/3/project/ — Project Roles description: 'Atlassian rest/api/3/project/ — Project Roles. 3 operations. Lead operation: Atlassian Get Project Roles For Project. 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-project--project-roles baseUri: https://your-domain.atlassian.net description: Atlassian rest/api/3/project/ — Project Roles business capability. Self-contained, no shared references. resources: - name: rest-api-3-project-projectIdOrKey-role path: /rest/api/3/project/{projectIdOrKey}/role operations: - name: atlassiangetprojectroles method: GET description: Atlassian Get Project Roles For Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectIdOrKey in: path type: string description: The project ID or project key (case sensitive). required: true - name: rest-api-3-project-projectIdOrKey-role-id path: /rest/api/3/project/{projectIdOrKey}/role/{id} operations: - name: atlassiangetprojectrole method: GET description: Atlassian Get Project Role For Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectIdOrKey in: path type: string description: The project ID or project key (case sensitive). required: true - 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: excludeInactiveUsers in: query type: boolean description: Exclude inactive users. - name: rest-api-3-project-projectIdOrKey-roledetails path: /rest/api/3/project/{projectIdOrKey}/roledetails operations: - name: atlassiangetprojectroledetails method: GET description: Atlassian Get Project Role Details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectIdOrKey in: path type: string description: The project ID or project key (case sensitive). required: true - name: currentMember in: query type: boolean description: Whether the roles should be filtered to include only those the user is assigned to. - name: excludeConnectAddons in: query type: boolean exposes: - type: rest namespace: rest-api-3-project--project-roles-rest port: 8080 description: REST adapter for Atlassian rest/api/3/project/ — Project Roles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/3/project/{projectidorkey}/role name: rest-api-3-project-projectidorkey-role description: REST surface for rest-api-3-project-projectIdOrKey-role. operations: - method: GET name: atlassiangetprojectroles description: Atlassian Get Project Roles For Project call: rest-api-3-project--project-roles.atlassiangetprojectroles with: projectIdOrKey: rest.projectIdOrKey outputParameters: - type: object mapping: $. - path: /v1/api/3/project/{projectidorkey}/role/{id} name: rest-api-3-project-projectidorkey-role-id description: REST surface for rest-api-3-project-projectIdOrKey-role-id. operations: - method: GET name: atlassiangetprojectrole description: Atlassian Get Project Role For Project call: rest-api-3-project--project-roles.atlassiangetprojectrole with: projectIdOrKey: rest.projectIdOrKey id: rest.id excludeInactiveUsers: rest.excludeInactiveUsers outputParameters: - type: object mapping: $. - path: /v1/api/3/project/{projectidorkey}/roledetails name: rest-api-3-project-projectidorkey-roledetails description: REST surface for rest-api-3-project-projectIdOrKey-roledetails. operations: - method: GET name: atlassiangetprojectroledetails description: Atlassian Get Project Role Details call: rest-api-3-project--project-roles.atlassiangetprojectroledetails with: projectIdOrKey: rest.projectIdOrKey currentMember: rest.currentMember excludeConnectAddons: rest.excludeConnectAddons outputParameters: - type: object mapping: $. - type: mcp namespace: rest-api-3-project--project-roles-mcp port: 9090 transport: http description: MCP adapter for Atlassian rest/api/3/project/ — Project Roles. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-project-roles-project description: Atlassian Get Project Roles For Project hints: readOnly: true destructive: false idempotent: true call: rest-api-3-project--project-roles.atlassiangetprojectroles with: projectIdOrKey: tools.projectIdOrKey outputParameters: - type: object mapping: $. - name: atlassian-get-project-role-project description: Atlassian Get Project Role For Project hints: readOnly: true destructive: false idempotent: true call: rest-api-3-project--project-roles.atlassiangetprojectrole with: projectIdOrKey: tools.projectIdOrKey id: tools.id excludeInactiveUsers: tools.excludeInactiveUsers outputParameters: - type: object mapping: $. - name: atlassian-get-project-role-details description: Atlassian Get Project Role Details hints: readOnly: true destructive: false idempotent: true call: rest-api-3-project--project-roles.atlassiangetprojectroledetails with: projectIdOrKey: tools.projectIdOrKey currentMember: tools.currentMember excludeConnectAddons: tools.excludeConnectAddons outputParameters: - type: object mapping: $.