get_issue
Read one Linear ticket in full: description, all comments oldest-first, edits, relations, children, attachments, plus drift and format findings to reconcile before acting.
Instructions
Read one ticket whole: full description, every comment oldest-first (all pages), who edited the description and when, relations, children, attachments. omitted lists anything not returned; an empty list means nothing was left out. findings lists format problems in the description and drift.unreconciled_comments lists comments the description may not reflect yet, and drift.edited_after_reconcile comments edited after it accounted for them. When drift.needs_reconcile is true, fold what those comments establish into the description with set_state (reconciled_through = newest comment id) before acting on the ticket. Tickets written from other clients get repaired this way. Pass issue.description_sha as base to the write that patches the description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue | Yes | Issue identifier (e.g. ENG-123) or UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claim | No | Your claim on this ticket and whether the description changed since | |
| drift | No | Comments after the reconciled marker, needs_reconcile and next_step | |
| issue | No | Full description and fields, description_sha (pass it as base when you patch the description), and open_questions parsed from the description | |
| omitted | No | Anything not fetched, with the reason; empty means nothing was left out | |
| children | No | Sub-issues | |
| comments | No | Every comment, oldest first, each with author_kind (agent or person) and its basis | |
| findings | No | Format and shipped-state problems to fix with set_state | |
| relations | No | Blocks, duplicates and related tickets, both directions | |
| attachments | No | Other attachments | |
| comment_order | No | Always oldest first | |
| pull_requests | No | Linked GitHub PRs with status, target branch and merge time | |
| description_edits | No | Who changed the description and when, oldest first |