Add attachment
jira_add_attachmentUpload a local file (up to 10 MB) to a Jira issue as an attachment, optionally overriding the filename, to share supporting documents in issue context.
Instructions
Upload a local file as an attachment to an issue (max 10 MB). Returns {id, filename, size}.
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": {
"issueKey": "<issueKey>",
"filePath": "<filePath>"
},
"name": "jira_add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | Override the file name shown in Jira (defaults to the local file name) | |
| filePath | Yes | Absolute or relative path of the local file to upload | |
| issueKey | Yes | Issue key, e.g. 'ABC-123' |