Issue attachments
Get attachment thumbnail
Returns the thumbnail of an attachment.
To return the attachment contents, use Get attachment content.
This operation can be accessed anonymously.
Permissions required: For the issue containing the attachment:
- Browse projects project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
- If attachments are added in private comments, the comment-level restriction will be applied.
get/rest/api/2/attachment/thumbnail/{id}
Path parameters
idstring required
The ID of the attachment.
Query parameters
redirectboolean
Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this to false to avoid making multiple requests to download the attachment.
fallbackToDefaultboolean
Whether a default thumbnail is returned when the requested thumbnail is not found.
widthinteger
The maximum width to scale the thumbnail to.
heightinteger
The maximum height to scale the thumbnail to.
Response
Returned if the request is successful when redirect is set to false.