Request

Get attachment content

Returns the contents of an attachment.

To return a thumbnail of the attachment, use servicedeskapi/request/{issueIdOrKey}/attachment/{attachmentId}/thumbnail.

Permissions required: For the issue containing the attachment:

get/rest/servicedeskapi/request/{issueIdOrKey}/attachment/{attachmentId}

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/rest/servicedeskapi/request/{issueIdOrKey}/attachment/{attachmentId}
  • Auth
    OAuth 2
    Authorization code: https://auth.atlassian.com/authorize
    Token URL: https://auth.atlassian.com/oauth/token scopes: read:servicedesk-request

Path parameters

issueIdOrKeystring required

The ID or key for the customer request the attachment is associated with

attachmentIdinteger required

The ID for the attachment

Response

200 response

unknown required

Changes

No operation changes recorded.