jira_construct_download_endpoint
Generate a short-lived authenticated download URL for a cached Jira attachment. Requires prior caching via jira_download_attachments. Returns URL, expiry, and metadata.
Instructions
Return a short-lived authenticated download URL for a cached Jira attachment.
This is intended for clients that need a regular HTTP URL instead of an MCP resource URI. The attachment must already be present in the in-memory cache, typically by running jira_download_attachments with return_content=true.
Args: ctx: The FastMCP context. issue_key: Jira issue key for the cached attachment. filename: Cached attachment filename. ttl_minutes: Download URL lifetime in minutes (max 10).
Returns: JSON string with download_url, expires_at, and attachment metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Attachment filename exactly as returned by jira_download_attachments or list_cached_attachments. | |
| issue_key | Yes | Jira issue key for the cached attachment (e.g., 'PROJ-123') | |
| ttl_minutes | No | Lifetime for the generated download URL in minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |