Attach a file
jira_add_attachmentAttach a file to a Jira issue by downloading it from a public URL or reading it from a local path on the server, with optional filename override.
Instructions
Attach a file to an issue, either downloaded from a public URL or read from a local path on the machine running this server.
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": "<issue>"
},
"name": "jira_add_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL to download. | |
| issue | Yes | Issue key ('ABC-123'), instance-prefixed key ('work:ABC-123') or full browse URL ('https://acme.atlassian.net/browse/ABC-123'). | |
| filePath | No | Absolute path of a local file. | |
| filename | No | Override the attachment file name. | |
| instance | No | Jira instance name (see jira_list_instances). Optional: calls are routed automatically by 'name:KEY' prefixes, issue URLs, project-key mapping, the default instance, or when only one instance exists. |