jira_add_attachment
Upload a file attachment to a Jira issue by providing the issue key, filename, and base64-encoded content. Optionally specify MIME type.
Instructions
Upload a file attachment to a Jira issue using base64-encoded content.
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>",
"filename": "<filename>",
"contentBase64": "<contentBase64>"
},
"name": "jira_add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename to store in Jira | |
| issueKey | Yes | Jira issue key, for example ABC-123 | |
| mimeType | No | Optional MIME type, for example image/png | |
| contentBase64 | Yes | Base64-encoded file content |