get_attachment
Download an image from a Jira issue to inspect it visually, such as screenshots of bugs. Supports PNG, JPEG, GIF, and WebP up to 5 MB, with clear errors for unsupported files.
Instructions
Download an image attached to a Jira issue, for visual analysis.
Returns the image itself so it can be looked at directly. Use it when a ticket's Attachments section (from get_issue) lists a screenshot or other image relevant to the task, e.g. a UI bug report where the screenshot shows the actual broken state.
Only images are supported (png, jpeg, gif, webp) up to 5 MB; videos and other file types are rejected with an explanatory error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | Yes | The numeric attachment ID exactly as listed in get_issue output, e.g. get_attachment(attachment_id="107474"). NOT the issue key and NOT the filename. |