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:
If issue-level security is configured, issue-level security permission to view the issue.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'http://jira.local:8080/jira/rest//rest/api/3/attachment/thumbnail/'
Response Response Example
200 - Example 1
{}
Request
Path Params
id
stringÂ
required
The ID of the attachment.
Query Params
redirect
stringÂ
optional
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.
fallbackToDefault
stringÂ
optional
Whether a default thumbnail is returned when the requested thumbnail is not found.
width
integerÂ
optional
The maximum width to scale the thumbnail to.
height
integerÂ
optional
The maximum height to scale the thumbnail to.
Responses
🟢200Returned if the request is successful when `redirect` is set to `false`.
application/json
Body
object {0}
🔵303Returned if the request is successful. See the `Location` header for the download URL.
🟠400Returned if the request is invalid.
🟠401Returned if the authentication credentials are incorrect.
🟠403The user does not have the necessary permission.
🟠404Returned if:
* the attachment is not found.
* attachments are disabled in the Jira settings.
* `fallbackToDefault` is `false` and the request thumbnail cannot be downloaded.