Sonatype · Capability

Sonatype Lifecycle Public REST API — Config Jira

Sonatype Lifecycle Public REST API — Config Jira. 3 operations. Lead operation: Config Jira. Self-contained Naftiko capability covering one Sonatype business surface.

Run with Naftiko SonatypeConfig Jira

What You Can Do

DELETE
Deleteconfiguration2 — Use this method to delete a Jira configuration.
/v1/api/v2/config/jira
GET
Getconfiguration2 — Use this method to retrieve an existing configuration for Jira.
/v1/api/v2/config/jira
PUT
Setconfiguration2 — Use this method to set a Jira configuration. If a Jira configuration already exists, the values will be updated with the ones provided here. If the server URL is being changed, then the password (if any) will be required.
/v1/api/v2/config/jira

MCP Tools

use-this-method-delete-jira

Use this method to delete a Jira configuration.

idempotent
use-this-method-retrieve-existing

Use this method to retrieve an existing configuration for Jira.

read-only idempotent
use-this-method-set-jira

Use this method to set a Jira configuration. If a Jira configuration already exists, the values will be updated with the ones provided here. If the server URL is being changed, then the password (if any) will be required.

idempotent

Capability Spec

lifecycle-config-jira.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sonatype Lifecycle Public REST API — Config Jira
  description: 'Sonatype Lifecycle Public REST API — Config Jira. 3 operations. Lead operation: Config Jira. Self-contained
    Naftiko capability covering one Sonatype business surface.'
  tags:
  - Sonatype
  - Config Jira
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SONATYPE_API_KEY: SONATYPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: lifecycle-config-jira
    baseUri: ''
    description: Sonatype Lifecycle Public REST API — Config Jira business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-config-jira
      path: /api/v2/config/jira
      operations:
      - name: deleteconfiguration2
        method: DELETE
        description: Use this method to delete a Jira configuration.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getconfiguration2
        method: GET
        description: Use this method to retrieve an existing configuration for Jira.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setconfiguration2
        method: PUT
        description: Use this method to set a Jira configuration. If a Jira configuration already exists, the values will
          be updated with the ones provided here. If the server URL is being changed, then the password (if any) will be required.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.SONATYPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: lifecycle-config-jira-rest
    port: 8080
    description: REST adapter for Sonatype Lifecycle Public REST API — Config Jira. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/v2/config/jira
      name: api-v2-config-jira
      description: REST surface for api-v2-config-jira.
      operations:
      - method: DELETE
        name: deleteconfiguration2
        description: Use this method to delete a Jira configuration.
        call: lifecycle-config-jira.deleteconfiguration2
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getconfiguration2
        description: Use this method to retrieve an existing configuration for Jira.
        call: lifecycle-config-jira.getconfiguration2
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setconfiguration2
        description: Use this method to set a Jira configuration. If a Jira configuration already exists, the values will
          be updated with the ones provided here. If the server URL is being changed, then the password (if any) will be required.
        call: lifecycle-config-jira.setconfiguration2
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lifecycle-config-jira-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sonatype Lifecycle Public REST API — Config Jira. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: use-this-method-delete-jira
      description: Use this method to delete a Jira configuration.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: lifecycle-config-jira.deleteconfiguration2
      outputParameters:
      - type: object
        mapping: $.
    - name: use-this-method-retrieve-existing
      description: Use this method to retrieve an existing configuration for Jira.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lifecycle-config-jira.getconfiguration2
      outputParameters:
      - type: object
        mapping: $.
    - name: use-this-method-set-jira
      description: Use this method to set a Jira configuration. If a Jira configuration already exists, the values will be
        updated with the ones provided here. If the server URL is being changed, then the password (if any) will be required.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: lifecycle-config-jira.setconfiguration2
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.