naftiko: 1.0.0-alpha2 info: label: Atlassian The Jira Cloud platform REST API — Project Versions description: 'Atlassian The Jira Cloud platform REST API — Project Versions. 15 operations. Lead operation: Atlassian Get Project Versions Paginated. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Project Versions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: jira-project-versions baseUri: https://your-domain.atlassian.net description: Atlassian The Jira Cloud platform REST API — Project Versions business capability. Self-contained, no shared references. resources: - name: rest-api-3-project-projectIdOrKey-version path: /rest/api/3/project/{projectIdOrKey}/version operations: - name: atlassiangetprojectversionspaginated method: GET description: Atlassian Get Project Versions Paginated 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: startAt in: query type: integer description: The index of the first item to return in a page of results (page offset). - name: maxResults in: query type: integer description: The maximum number of items to return per page. - name: orderBy in: query type: string description: '[Order](#ordering) the results by a field:' - name: query in: query type: string description: Filter the results using a literal string. Versions with matching `name` or `description` are returned (case insensitive). - name: status in: query type: string description: A list of status values used to filter the results by version status. This parameter accepts a comma-separated list. The status values are `released`, `unreleas - name: expand in: query type: string description: 'Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include:' - name: rest-api-3-project-projectIdOrKey-versions path: /rest/api/3/project/{projectIdOrKey}/versions operations: - name: atlassiangetprojectversions method: GET description: Atlassian Get Project Versions 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: expand in: query type: string description: 'Use [expand](#expansion) to include additional information in the response. This parameter accepts `operations`, which returns actions that can be performed on ' - name: rest-api-3-version path: /rest/api/3/version operations: - name: atlassiancreateversion method: POST description: Atlassian Create Version 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-version-id path: /rest/api/3/version/{id} operations: - name: atlassiandeleteversion method: DELETE description: Atlassian Delete Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version. required: true - name: moveFixIssuesTo in: query type: string description: 'The ID of the version to update `fixVersion` to when the field contains the deleted version. The replacement version must be in the same project as the version ' - name: moveAffectedIssuesTo in: query type: string description: The ID of the version to update `affectedVersion` to when the field contains the deleted version. The replacement version must be in the same project as the ver - name: atlassiangetversion method: GET description: Atlassian Get Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version. required: true - name: expand in: query type: string description: 'Use [expand](#expansion) to include additional information about version in the response. This parameter accepts a comma-separated list. Expand options include:' - name: atlassianupdateversion method: PUT description: Atlassian Update Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: rest-api-3-version-id-mergeto-moveIssuesTo path: /rest/api/3/version/{id}/mergeto/{moveIssuesTo} operations: - name: atlassianmergeversions method: PUT description: Atlassian Merge Versions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version to delete. required: true - name: moveIssuesTo in: path type: string description: The ID of the version to merge into. required: true - name: rest-api-3-version-id-move path: /rest/api/3/version/{id}/move operations: - name: atlassianmoveversion method: POST description: Atlassian Move Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version to be moved. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: rest-api-3-version-id-relatedIssueCounts path: /rest/api/3/version/{id}/relatedIssueCounts operations: - name: atlassiangetversionrelatedissues method: GET description: Atlassian Get Version S Related Issues Count outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version. required: true - name: rest-api-3-version-id-relatedwork path: /rest/api/3/version/{id}/relatedwork operations: - name: atlassiangetrelatedwork method: GET description: Atlassian Get Related Work outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version. required: true - name: atlassiancreaterelatedwork method: POST description: Atlassian Create Related Work outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: atlassianupdaterelatedwork method: PUT description: Atlassian Update Related Work outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version to update the related work on. For the related work id, pass it to the input JSON. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: rest-api-3-version-id-removeAndSwap path: /rest/api/3/version/{id}/removeAndSwap operations: - name: atlassiandeleteandreplaceversion method: POST description: Atlassian Delete And Replace Version outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: rest-api-3-version-id-unresolvedIssueCount path: /rest/api/3/version/{id}/unresolvedIssueCount operations: - name: atlassiangetversionunresolvedissues method: GET description: Atlassian Get Version S Unresolved Issues Count outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the version. required: true - name: rest-api-3-version-versionId-relatedwork-relatedWorkId path: /rest/api/3/version/{versionId}/relatedwork/{relatedWorkId} operations: - name: atlassiandeleterelatedwork method: DELETE description: Atlassian Delete Related Work outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: versionId in: path type: string description: The ID of the version that the target related work belongs to. required: true - name: relatedWorkId in: path type: string description: The ID of the related work to delete. required: true authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: jira-project-versions-rest port: 8080 description: REST adapter for Atlassian The Jira Cloud platform REST API — Project Versions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/3/project/{projectidorkey}/version name: rest-api-3-project-projectidorkey-version description: REST surface for rest-api-3-project-projectIdOrKey-version. operations: - method: GET name: atlassiangetprojectversionspaginated description: Atlassian Get Project Versions Paginated call: jira-project-versions.atlassiangetprojectversionspaginated with: projectIdOrKey: rest.projectIdOrKey startAt: rest.startAt maxResults: rest.maxResults orderBy: rest.orderBy query: rest.query status: rest.status expand: rest.expand outputParameters: - type: object mapping: $. - path: /v1/api/3/project/{projectidorkey}/versions name: rest-api-3-project-projectidorkey-versions description: REST surface for rest-api-3-project-projectIdOrKey-versions. operations: - method: GET name: atlassiangetprojectversions description: Atlassian Get Project Versions call: jira-project-versions.atlassiangetprojectversions with: projectIdOrKey: rest.projectIdOrKey expand: rest.expand outputParameters: - type: object mapping: $. - path: /v1/api/3/version name: rest-api-3-version description: REST surface for rest-api-3-version. operations: - method: POST name: atlassiancreateversion description: Atlassian Create Version call: jira-project-versions.atlassiancreateversion with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/3/version/{id} name: rest-api-3-version-id description: REST surface for rest-api-3-version-id. operations: - method: DELETE name: atlassiandeleteversion description: Atlassian Delete Version call: jira-project-versions.atlassiandeleteversion with: id: rest.id moveFixIssuesTo: rest.moveFixIssuesTo moveAffectedIssuesTo: rest.moveAffectedIssuesTo outputParameters: - type: object mapping: $. - method: GET name: atlassiangetversion description: Atlassian Get Version call: jira-project-versions.atlassiangetversion with: id: rest.id expand: rest.expand outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdateversion description: Atlassian Update Version call: jira-project-versions.atlassianupdateversion with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/3/version/{id}/mergeto/{moveissuesto} name: rest-api-3-version-id-mergeto-moveissuesto description: REST surface for rest-api-3-version-id-mergeto-moveIssuesTo. operations: - method: PUT name: atlassianmergeversions description: Atlassian Merge Versions call: jira-project-versions.atlassianmergeversions with: id: rest.id moveIssuesTo: rest.moveIssuesTo outputParameters: - type: object mapping: $. - path: /v1/api/3/version/{id}/move name: rest-api-3-version-id-move description: REST surface for rest-api-3-version-id-move. operations: - method: POST name: atlassianmoveversion description: Atlassian Move Version call: jira-project-versions.atlassianmoveversion with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/3/version/{id}/relatedissuecounts name: rest-api-3-version-id-relatedissuecounts description: REST surface for rest-api-3-version-id-relatedIssueCounts. operations: - method: GET name: atlassiangetversionrelatedissues description: Atlassian Get Version S Related Issues Count call: jira-project-versions.atlassiangetversionrelatedissues with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/3/version/{id}/relatedwork name: rest-api-3-version-id-relatedwork description: REST surface for rest-api-3-version-id-relatedwork. operations: - method: GET name: atlassiangetrelatedwork description: Atlassian Get Related Work call: jira-project-versions.atlassiangetrelatedwork with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: atlassiancreaterelatedwork description: Atlassian Create Related Work call: jira-project-versions.atlassiancreaterelatedwork with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdaterelatedwork description: Atlassian Update Related Work call: jira-project-versions.atlassianupdaterelatedwork with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/3/version/{id}/removeandswap name: rest-api-3-version-id-removeandswap description: REST surface for rest-api-3-version-id-removeAndSwap. operations: - method: POST name: atlassiandeleteandreplaceversion description: Atlassian Delete And Replace Version call: jira-project-versions.atlassiandeleteandreplaceversion with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/3/version/{id}/unresolvedissuecount name: rest-api-3-version-id-unresolvedissuecount description: REST surface for rest-api-3-version-id-unresolvedIssueCount. operations: - method: GET name: atlassiangetversionunresolvedissues description: Atlassian Get Version S Unresolved Issues Count call: jira-project-versions.atlassiangetversionunresolvedissues with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/3/version/{versionid}/relatedwork/{relatedworkid} name: rest-api-3-version-versionid-relatedwork-relatedworkid description: REST surface for rest-api-3-version-versionId-relatedwork-relatedWorkId. operations: - method: DELETE name: atlassiandeleterelatedwork description: Atlassian Delete Related Work call: jira-project-versions.atlassiandeleterelatedwork with: versionId: rest.versionId relatedWorkId: rest.relatedWorkId outputParameters: - type: object mapping: $. - type: mcp namespace: jira-project-versions-mcp port: 9090 transport: http description: MCP adapter for Atlassian The Jira Cloud platform REST API — Project Versions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-project-versions-paginated description: Atlassian Get Project Versions Paginated hints: readOnly: true destructive: false idempotent: true call: jira-project-versions.atlassiangetprojectversionspaginated with: projectIdOrKey: tools.projectIdOrKey startAt: tools.startAt maxResults: tools.maxResults orderBy: tools.orderBy query: tools.query status: tools.status expand: tools.expand outputParameters: - type: object mapping: $. - name: atlassian-get-project-versions description: Atlassian Get Project Versions hints: readOnly: true destructive: false idempotent: true call: jira-project-versions.atlassiangetprojectversions with: projectIdOrKey: tools.projectIdOrKey expand: tools.expand outputParameters: - type: object mapping: $. - name: atlassian-create-version description: Atlassian Create Version hints: readOnly: false destructive: false idempotent: false call: jira-project-versions.atlassiancreateversion with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-version description: Atlassian Delete Version hints: readOnly: false destructive: true idempotent: true call: jira-project-versions.atlassiandeleteversion with: id: tools.id moveFixIssuesTo: tools.moveFixIssuesTo moveAffectedIssuesTo: tools.moveAffectedIssuesTo outputParameters: - type: object mapping: $. - name: atlassian-get-version description: Atlassian Get Version hints: readOnly: true destructive: false idempotent: true call: jira-project-versions.atlassiangetversion with: id: tools.id expand: tools.expand outputParameters: - type: object mapping: $. - name: atlassian-update-version description: Atlassian Update Version hints: readOnly: false destructive: false idempotent: true call: jira-project-versions.atlassianupdateversion with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-merge-versions description: Atlassian Merge Versions hints: readOnly: false destructive: false idempotent: true call: jira-project-versions.atlassianmergeversions with: id: tools.id moveIssuesTo: tools.moveIssuesTo outputParameters: - type: object mapping: $. - name: atlassian-move-version description: Atlassian Move Version hints: readOnly: false destructive: false idempotent: false call: jira-project-versions.atlassianmoveversion with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-version-s-related description: Atlassian Get Version S Related Issues Count hints: readOnly: true destructive: false idempotent: true call: jira-project-versions.atlassiangetversionrelatedissues with: id: tools.id outputParameters: - type: object mapping: $. - name: atlassian-get-related-work description: Atlassian Get Related Work hints: readOnly: true destructive: false idempotent: true call: jira-project-versions.atlassiangetrelatedwork with: id: tools.id outputParameters: - type: object mapping: $. - name: atlassian-create-related-work description: Atlassian Create Related Work hints: readOnly: false destructive: false idempotent: false call: jira-project-versions.atlassiancreaterelatedwork with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-related-work description: Atlassian Update Related Work hints: readOnly: false destructive: false idempotent: true call: jira-project-versions.atlassianupdaterelatedwork with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-and-replace-version description: Atlassian Delete And Replace Version hints: readOnly: false destructive: false idempotent: false call: jira-project-versions.atlassiandeleteandreplaceversion with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-version-s-unresolved description: Atlassian Get Version S Unresolved Issues Count hints: readOnly: true destructive: false idempotent: true call: jira-project-versions.atlassiangetversionunresolvedissues with: id: tools.id outputParameters: - type: object mapping: $. - name: atlassian-delete-related-work description: Atlassian Delete Related Work hints: readOnly: false destructive: true idempotent: true call: jira-project-versions.atlassiandeleterelatedwork with: versionId: tools.versionId relatedWorkId: tools.relatedWorkId outputParameters: - type: object mapping: $.