Atlassian · Capability

Atlassian The Jira Cloud platform REST API — Project Avatars

Atlassian The Jira Cloud platform REST API — Project Avatars. 4 operations. Lead operation: Atlassian Set Project Avatar. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianProject Avatars

What You Can Do

PUT
Atlassianupdateprojectavatar — Atlassian Set Project Avatar
/v1/api/3/project/{projectidorkey}/avatar
DELETE
Atlassiandeleteprojectavatar — Atlassian Delete Project Avatar
/v1/api/3/project/{projectidorkey}/avatar/{id}
POST
Atlassiancreateprojectavatar — Atlassian Load Project Avatar
/v1/api/3/project/{projectidorkey}/avatar2
GET
Atlassiangetallprojectavatars — Atlassian Get All Project Avatars
/v1/api/3/project/{projectidorkey}/avatars

MCP Tools

atlassian-set-project-avatar

Atlassian Set Project Avatar

idempotent
atlassian-delete-project-avatar

Atlassian Delete Project Avatar

idempotent
atlassian-load-project-avatar

Atlassian Load Project Avatar

atlassian-get-all-project-avatars

Atlassian Get All Project Avatars

read-only idempotent

Capability Spec

jira-project-avatars.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian The Jira Cloud platform REST API — Project Avatars
  description: 'Atlassian The Jira Cloud platform REST API — Project Avatars. 4 operations. Lead operation: Atlassian Set
    Project Avatar. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Project Avatars
  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-avatars
    baseUri: https://your-domain.atlassian.net
    description: Atlassian The Jira Cloud platform REST API — Project Avatars business capability. Self-contained, no shared
      references.
    resources:
    - name: rest-api-3-project-projectIdOrKey-avatar
      path: /rest/api/3/project/{projectIdOrKey}/avatar
      operations:
      - name: atlassianupdateprojectavatar
        method: PUT
        description: Atlassian Set Project Avatar
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectIdOrKey
          in: path
          type: string
          description: The ID or (case-sensitive) key of the project.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-api-3-project-projectIdOrKey-avatar-id
      path: /rest/api/3/project/{projectIdOrKey}/avatar/{id}
      operations:
      - name: atlassiandeleteprojectavatar
        method: DELETE
        description: Atlassian Delete Project Avatar
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectIdOrKey
          in: path
          type: string
          description: The project ID or (case-sensitive) key.
          required: true
        - name: id
          in: path
          type: integer
          description: The ID of the avatar.
          required: true
    - name: rest-api-3-project-projectIdOrKey-avatar2
      path: /rest/api/3/project/{projectIdOrKey}/avatar2
      operations:
      - name: atlassiancreateprojectavatar
        method: POST
        description: Atlassian Load Project Avatar
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectIdOrKey
          in: path
          type: string
          description: The ID or (case-sensitive) key of the project.
          required: true
        - name: x
          in: query
          type: integer
          description: The X coordinate of the top-left corner of the crop region.
        - name: y
          in: query
          type: integer
          description: The Y coordinate of the top-left corner of the crop region.
        - name: size
          in: query
          type: integer
          description: The length of each side of the crop region.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-api-3-project-projectIdOrKey-avatars
      path: /rest/api/3/project/{projectIdOrKey}/avatars
      operations:
      - name: atlassiangetallprojectavatars
        method: GET
        description: Atlassian Get All Project Avatars
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectIdOrKey
          in: path
          type: string
          description: The ID or (case-sensitive) key of the project.
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: jira-project-avatars-rest
    port: 8080
    description: REST adapter for Atlassian The Jira Cloud platform REST API — Project Avatars. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/3/project/{projectidorkey}/avatar
      name: rest-api-3-project-projectidorkey-avatar
      description: REST surface for rest-api-3-project-projectIdOrKey-avatar.
      operations:
      - method: PUT
        name: atlassianupdateprojectavatar
        description: Atlassian Set Project Avatar
        call: jira-project-avatars.atlassianupdateprojectavatar
        with:
          projectIdOrKey: rest.projectIdOrKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/3/project/{projectidorkey}/avatar/{id}
      name: rest-api-3-project-projectidorkey-avatar-id
      description: REST surface for rest-api-3-project-projectIdOrKey-avatar-id.
      operations:
      - method: DELETE
        name: atlassiandeleteprojectavatar
        description: Atlassian Delete Project Avatar
        call: jira-project-avatars.atlassiandeleteprojectavatar
        with:
          projectIdOrKey: rest.projectIdOrKey
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/3/project/{projectidorkey}/avatar2
      name: rest-api-3-project-projectidorkey-avatar2
      description: REST surface for rest-api-3-project-projectIdOrKey-avatar2.
      operations:
      - method: POST
        name: atlassiancreateprojectavatar
        description: Atlassian Load Project Avatar
        call: jira-project-avatars.atlassiancreateprojectavatar
        with:
          projectIdOrKey: rest.projectIdOrKey
          x: rest.x
          y: rest.y
          size: rest.size
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/3/project/{projectidorkey}/avatars
      name: rest-api-3-project-projectidorkey-avatars
      description: REST surface for rest-api-3-project-projectIdOrKey-avatars.
      operations:
      - method: GET
        name: atlassiangetallprojectavatars
        description: Atlassian Get All Project Avatars
        call: jira-project-avatars.atlassiangetallprojectavatars
        with:
          projectIdOrKey: rest.projectIdOrKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: jira-project-avatars-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian The Jira Cloud platform REST API — Project Avatars. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: atlassian-set-project-avatar
      description: Atlassian Set Project Avatar
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: jira-project-avatars.atlassianupdateprojectavatar
      with:
        projectIdOrKey: tools.projectIdOrKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-project-avatar
      description: Atlassian Delete Project Avatar
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: jira-project-avatars.atlassiandeleteprojectavatar
      with:
        projectIdOrKey: tools.projectIdOrKey
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-load-project-avatar
      description: Atlassian Load Project Avatar
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: jira-project-avatars.atlassiancreateprojectavatar
      with:
        projectIdOrKey: tools.projectIdOrKey
        x: tools.x
        y: tools.y
        size: tools.size
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-all-project-avatars
      description: Atlassian Get All Project Avatars
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: jira-project-avatars.atlassiangetallprojectavatars
      with:
        projectIdOrKey: tools.projectIdOrKey
      outputParameters:
      - type: object
        mapping: $.