download_attachment
Download a Zephyr Scale attachment to a local file using its ID or direct URL. Specify the output path to save the file.
Instructions
Download a Zephyr Scale attachment to a local file. Address it either by attachmentId (from list_attachments or an upload response) or by the exact url field that list_attachments returns — pass exactly one of the two. Note: Zephyr Scale serves attachment content from /rest/tests/1.0/attachment/{id}; that is the URL the official list endpoint itself hands out, so this tool follows it. For safety, a passed url must point at the configured Jira host — credentials are never sent elsewhere. The file is written to outputPath on the machine running this MCP server (the parent directory must exist). Returns { savedTo, bytes }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Exact download url as returned by list_attachments; must be on the configured Jira host | |
| outputPath | Yes | Local path to write the file to (the parent directory must exist) | |
| attachmentId | No | Numeric attachment id (from list_attachments or an upload response) |