Issue attachments
Get attachment metadata
Returns the metadata for an attachment. Note that the attachment itself is not returned.
This operation can be accessed anonymously.
Permissions required:
- 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/{id}
Request
- Base URL: https://your-domain.atlassian.net
- URL: https://your-domain.atlassian.net/rest/api/2/attachment/{id}
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: read:jira-work)
- none
Path parameters
idstring required
The ID of the attachment.
Response
Returned if the request is successful.
Changes
No recorded changes to this operation across all 26 revisions of this API.