naftiko: 1.0.0-alpha2 info: label: Atlassian rest/api/3/version/ — Project Versions description: 'Atlassian rest/api/3/version/ — Project Versions. 12 operations. Lead operation: Atlassian Delete Version. 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: rest-api-3-version--project-versions baseUri: https://your-domain.atlassian.net description: Atlassian rest/api/3/version/ — Project Versions business capability. Self-contained, no shared references. resources: - 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 exposes: - type: rest namespace: rest-api-3-version--project-versions-rest port: 8080 description: REST adapter for Atlassian rest/api/3/version/ — Project Versions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - 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: rest-api-3-version--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: rest-api-3-version--project-versions.atlassiangetversion with: id: rest.id expand: rest.expand outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdateversion description: Atlassian Update Version call: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--project-versions.atlassiangetrelatedwork with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: atlassiancreaterelatedwork description: Atlassian Create Related Work call: rest-api-3-version--project-versions.atlassiancreaterelatedwork with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdaterelatedwork description: Atlassian Update Related Work call: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--project-versions.atlassiandeleterelatedwork with: versionId: rest.versionId relatedWorkId: rest.relatedWorkId outputParameters: - type: object mapping: $. - type: mcp namespace: rest-api-3-version--project-versions-mcp port: 9090 transport: http description: MCP adapter for Atlassian rest/api/3/version/ — Project Versions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-delete-version description: Atlassian Delete Version hints: readOnly: false destructive: true idempotent: true call: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--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: rest-api-3-version--project-versions.atlassiandeleterelatedwork with: versionId: tools.versionId relatedWorkId: tools.relatedWorkId outputParameters: - type: object mapping: $.