backlog_export_issue_context
Export a Backlog issue with all comments, attachments, and metadata into a local markdown context bundle for LLM summarization.
Instructions
Export a Backlog issue into a local raw context bundle for LLM summarization.
Fetches issue details, all comments (paginated), attachment metadata, downloads files, and writes:
raw.md: full markdown context with complete metadata (type, status, resolution, priority, parent, assignee, reporter, categories, milestones, versions, dates, hours), description, attachments, comments, and extracted text
manifest.json: machine-readable export metadata with placement confidence per attachment
Attachment placement is exact only when issue/comment text references the attachment; otherwise inferred by uploader/time or left unmatched. The output directory is configured via ATTACHMENT_WORKSPACE in the server's environment.
INPUT:
issueIdOrKey (required): issue key e.g. "BLG-10474" or numeric ID
outputDir (optional): override export root directory
includeComments/includeAttachments/downloadAttachments (optional booleans, default: true)
extractReadableFiles (optional boolean, default: false)
skipChangelogOnlyComments (optional boolean, default: false) — skip comments with no text (only field changes)
maxAttachmentBytes (optional): skip files larger than this (default: 10485760 = 10 MB)
placementWindowMinutes (optional): time window for inferred comment placement (default: 10)
EXAMPLE: { issueIdOrKey: "BLG-10474" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueIdOrKey | Yes | Backlog issue key or numeric issue ID. Example: BLG-10474 | |
| outputDir | No | Root directory for export output. Default: ATTACHMENT_WORKSPACE config value. | |
| includeComments | No | Include all issue comments. Default: true. | |
| includeAttachments | No | Include issue attachment metadata. Default: true. | |
| downloadAttachments | No | Download attachment files. Default: true. | |
| extractReadableFiles | No | Extract text-like attachment contents into markdown. Default: false. | |
| maxAttachmentBytes | No | Skip downloading attachments larger than this many bytes. Default: 10485760. | |
| placementWindowMinutes | No | Time window (minutes) for inferred comment attachment placement. Default: 10. | |
| skipChangelogOnlyComments | No | Skip comments that have no text content (only field changes). Useful for translation/export workflows. Default: false. |