add_attachment_from_confluence
Attach a file from a Confluence page to a Jira ticket by providing the Confluence page ID and attachment name along with the Jira issue key.
Instructions
Add an attachment to a ticket on Jira from a Confluence page by its name on the api /rest/api/3/issue/{issueIdOrKey}/attachments. Do not use markdown in your query.
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 | The page id | |
| issueIdOrKey | Yes | The issue id or key | |
| attachmentName | Yes | The name of the attachment |