add_attachment_from_confluence
Downloads a specified attachment from a Confluence page and adds it to a Jira issue.
Instructions
Download an attachment from Confluence (CONFLUENCE_BASE_URL + CONFLUENCE_PAT or SSO cookies) and upload it to a Jira issue.
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": {
"issueIdOrKey": "<issueIdOrKey>",
"pageId": "<pageId>",
"attachmentName": "<attachmentName>"
},
"name": "add_attachment_from_confluence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Confluence page ID | |
| issueIdOrKey | Yes | Issue ID or key to add attachment to | |
| attachmentName | Yes | Name of the attachment in Confluence |