Download Jira attachment
download_attachmentSave a Jira issue attachment to a local file using issue key and attachment ID; optionally choose the Jira instance and output directory.
Instructions
Download an attachment from a Jira issue to a local file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"issue_key": "<issue_key>",
"attachment_id": "<attachment_id>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_id | No | Jira instance to use, from list_configs. Omit for the default. | |
| issue_key | Yes | Issue key, e.g. ONE-123. | |
| output_dir | No | Existing directory to save into. The file is saved in an <issue_key>/ subdirectory. Default: the server's working directory. | |
| attachment_id | Yes | Numeric attachment ID from get_issue. |