Request

Get attachments for request

Changed on

This method returns all the attachments for a customer requests.

Permissions required: Permission to view the customer request.

Response limitations: Customers will only get a list of public attachments.

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

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/rest/servicedeskapi/request/{issueIdOrKey}/attachment
  • 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 of the customer request from which the attachments will be listed.

Query parameters

startinteger required

The starting index of the returned attachment. Base index: 0. See the Pagination section for more details.

limitinteger required

The maximum number of comments to return per page. Default: 50. See the Pagination section for more details.

Response

Returns the visible attachments from the customer request.

_expandsstring[]
isLastPageboolean

Indicates if this is the last page of records (true) or not (false).

limitinteger

Number of items to be returned per page, up to the maximum set for these objects in the current implementation.

sizeinteger

Number of items returned in the page.

startinteger

Index of the first item returned in the page.

Changes

    • breaking

      the query request parameter limit became required

    • breaking

      the query request parameter start became required