get_issue_attachment
Downloads an issue attachment by ID, returning it as MCP image/resource or base64 JSON. Get the attachmentId from get_issue first.
Instructions
Downloads one attachment of an issue. Returns it as MCP image or embedded resource content by default, or as base64 in a JSON object with format: 'base64'. Call get_issue first to obtain the attachmentId from the issue's attachments array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | How to return the file. 'auto' (default) returns a verified raster image as MCP image content and anything else as an embedded resource, so a client can render it. 'base64' returns a single JSON object with the encoded bytes in `content`, for callers that process the file programmatically — note that this puts the whole encoding in the caller's context. | |
| issueId | No | The numeric ID of the issue (e.g., 12345) | |
| issueKey | No | The key of the issue (e.g., 'PROJ-123') | |
| maxBytes | No | Maximum raw attachment size in bytes. Defaults to 5242880 and cannot exceed 7340032. | |
| attachmentId | Yes | The numeric ID of the attachment. Get it from get_issue (the issue's `attachments` array). |