action jira_get_attachment { label: "Get attachment metadata" description: "Returns the metadata for an attachment. Note that the attachment itself is not returned.\n\nThis operation can be accessed anonymously.\n\n**[Permissions](#permissions) required:**\n\n * *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project that the issue is in.\n * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is configured, issue-level security permission to view the issue.\n * If attachments are added in private comments, the comment-level restriction will be applied." provider: jira method: GET path: "/rest/api/3/attachment/{id}" encoding: json input: { type: "object" properties: { id: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" description: "Metadata for an issue attachment." properties: { author: { description: "Details of the user who attached the file." type: "object" } content: { type: "string" description: "The URL of the attachment." } created: { type: "string" format: "date-time" description: "The datetime the attachment was created." } filename: { type: "string" description: "The name of the attachment file." } id: { type: "integer" format: "int64" description: "The ID of the attachment." } mimeType: { type: "string" description: "The MIME type of the attachment." } properties: { type: "object" description: "Additional properties of the attachment." } self: { type: "string" format: "uri" description: "The URL of the attachment metadata details." } size: { type: "integer" format: "int64" description: "The size of the attachment." } thumbnail: { type: "string" description: "The URL of a thumbnail representing the attachment." } } additionalProperties: false } }