Atlassian · Capability

Atlassian pullrequests/{selected user}/ — Properties

Atlassian pullrequests/{selected user}/ — Properties. 3 operations. Lead operation: Atlassian Update A Pull Request Application Property. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianProperties

What You Can Do

PUT
Atlassianupdatepullrequesthostedpropertyvalue — Atlassian Update A Pull Request Application Property
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name}
DELETE
Atlassiandeletepullrequesthostedpropertyvalue — Atlassian Delete A Pull Request Application Property
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name}
GET
Atlassiangetpullrequesthostedpropertyvalue — Atlassian Get A Pull Request Application Property
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name}

MCP Tools

atlassian-update-pull-request-application

Atlassian Update A Pull Request Application Property

idempotent
atlassian-delete-pull-request-application

Atlassian Delete A Pull Request Application Property

idempotent
atlassian-get-pull-request-application

Atlassian Get A Pull Request Application Property

read-only idempotent

Capability Spec

pullrequests-selected-user--properties.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian pullrequests/{selected user}/ — Properties
  description: 'Atlassian pullrequests/{selected user}/ — Properties. 3 operations. Lead operation: Atlassian Update A Pull
    Request Application Property. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Properties
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: pullrequests-selected-user--properties
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian pullrequests/{selected user}/ — Properties business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key-
      path: /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name}
      operations:
      - name: atlassianupdatepullrequesthostedpropertyvalue
        method: PUT
        description: Atlassian Update A Pull Request Application Property
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The repository container; either the workspace slug or the UUID in curly braces.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pullrequest_id
          in: path
          type: string
          description: The pull request ID.
          required: true
        - name: app_key
          in: path
          type: string
          description: The key of the Connect app.
          required: true
        - name: property_name
          in: path
          type: string
          description: The name of the property.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: atlassiandeletepullrequesthostedpropertyvalue
        method: DELETE
        description: Atlassian Delete A Pull Request Application Property
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The repository container; either the workspace slug or the UUID in curly braces.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pullrequest_id
          in: path
          type: string
          description: The pull request ID.
          required: true
        - name: app_key
          in: path
          type: string
          description: The key of the Connect app.
          required: true
        - name: property_name
          in: path
          type: string
          description: The name of the property.
          required: true
      - name: atlassiangetpullrequesthostedpropertyvalue
        method: GET
        description: Atlassian Get A Pull Request Application Property
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The repository container; either the workspace slug or the UUID in curly braces.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pullrequest_id
          in: path
          type: string
          description: The pull request ID.
          required: true
        - name: app_key
          in: path
          type: string
          description: The key of the Connect app.
          required: true
        - name: property_name
          in: path
          type: string
          description: The name of the property.
          required: true
  exposes:
  - type: rest
    namespace: pullrequests-selected-user--properties-rest
    port: 8080
    description: REST adapter for Atlassian pullrequests/{selected user}/ — Properties. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name}
      name: repositories-workspace-repo-slug-pullrequests-pullrequest-id-properties-app-key
      description: REST surface for repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key-.
      operations:
      - method: PUT
        name: atlassianupdatepullrequesthostedpropertyvalue
        description: Atlassian Update A Pull Request Application Property
        call: pullrequests-selected-user--properties.atlassianupdatepullrequesthostedpropertyvalue
        with:
          workspace: rest.workspace
          repo_slug: rest.repo_slug
          pullrequest_id: rest.pullrequest_id
          app_key: rest.app_key
          property_name: rest.property_name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: atlassiandeletepullrequesthostedpropertyvalue
        description: Atlassian Delete A Pull Request Application Property
        call: pullrequests-selected-user--properties.atlassiandeletepullrequesthostedpropertyvalue
        with:
          workspace: rest.workspace
          repo_slug: rest.repo_slug
          pullrequest_id: rest.pullrequest_id
          app_key: rest.app_key
          property_name: rest.property_name
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: atlassiangetpullrequesthostedpropertyvalue
        description: Atlassian Get A Pull Request Application Property
        call: pullrequests-selected-user--properties.atlassiangetpullrequesthostedpropertyvalue
        with:
          workspace: rest.workspace
          repo_slug: rest.repo_slug
          pullrequest_id: rest.pullrequest_id
          app_key: rest.app_key
          property_name: rest.property_name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pullrequests-selected-user--properties-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian pullrequests/{selected user}/ — Properties. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-update-pull-request-application
      description: Atlassian Update A Pull Request Application Property
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: pullrequests-selected-user--properties.atlassianupdatepullrequesthostedpropertyvalue
      with:
        workspace: tools.workspace
        repo_slug: tools.repo_slug
        pullrequest_id: tools.pullrequest_id
        app_key: tools.app_key
        property_name: tools.property_name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-pull-request-application
      description: Atlassian Delete A Pull Request Application Property
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: pullrequests-selected-user--properties.atlassiandeletepullrequesthostedpropertyvalue
      with:
        workspace: tools.workspace
        repo_slug: tools.repo_slug
        pullrequest_id: tools.pullrequest_id
        app_key: tools.app_key
        property_name: tools.property_name
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-pull-request-application
      description: Atlassian Get A Pull Request Application Property
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pullrequests-selected-user--properties.atlassiangetpullrequesthostedpropertyvalue
      with:
        workspace: tools.workspace
        repo_slug: tools.repo_slug
        pullrequest_id: tools.pullrequest_id
        app_key: tools.app_key
        property_name: tools.property_name
      outputParameters:
      - type: object
        mapping: $.