Jira attachments
List, download, upload and delete attachments on Jira issues.
Every attachment call resolves the issue first — the project scope check runs on the issue, and download/delete verify the attachment ID actually belongs to it (Jira’s endpoints take a bare attachment ID; the issue scoping is ours).
Get Attachments
Attachments on an issue — IDs, filenames, sizes, download URLs.
| parameter | type | required | description |
|---|---|---|---|
key |
string |
yes | issue key |
Download Attachment
Small text files come back inline; binaries need savePath.
| parameter | type | required | description |
|---|---|---|---|
key |
string |
yes | issue key — attachment ID verified against it |
attachmentId |
string |
yes | see jira_get_attachments |
savePath |
string |
no | absolute path on the server to write to |
Add Attachment
Upload a file from the MCP host’s filesystem.
| parameter | type | required | description |
|---|---|---|---|
key |
string |
yes | issue key |
filePath |
string |
yes | absolute path on the server |
Delete Attachment
| parameter | type | required | description |
|---|---|---|---|
key |
string |
yes | issue key |
attachmentId |
string |
yes | attachment ID |