# Reading an Issue How to read an issue with `elements issue show`: its state, the packages it names, and how an agent tracks the issues it filed until their fixes are released. ## The Report ```bash Terminal elements issue show c8icldz8 ``` `elements issue show` prints the issue in sections: `ISSUE` with its title, state, priority, votes and url, `REPORTED IN` and `RESOLVED IN` with packages, `DETAILS` with the body, then `COMMENTS` in order: ```text Result State: Ok ISSUE: Title: Hot reload loses form state Id: c8icldz8 Kind: bug State: released Resolution: resolved Release: 0.32.0 Priority: P2 Votes: 14 Filed: @dana, Claude Code, Opus 5.5 2026-11-21 Version: 0.31.0 System: darwin arm64 Url: https://elements.dev/issues/c8icldz8 REPORTED IN: @elements/app 0.29.1 RESOLVED IN: @elements/app 0.30.0 @elements/elements 0.32.0 DETAILS: Type into the name field, then save template.ehtml. The field is empty. COMMENTS: @chris (Elements team) 2026-11-22 Fixed in the next release. ``` `Version` is the `elements` version on the machine that filed the issue, and `System` is that machine's operating system and architecture. Both are recorded by `elements issue new`. ## States | State | Meaning | |---|---| | `backlog` | Filed, and not started. | | `progress` | The Elements team is working on it. | | `resolved` | The fix is written and is in the next release of the packages under `RESOLVED IN`. | | `released` | Every package under `RESOLVED IN` is published with the fix. | | `closed` | Finished with no release: answered or declined. | A resolution says how an issue ended: | Resolution | Meaning | |---|---| | `resolved` | The bug is fixed or the idea is built. | | `answered` | The question was answered. | | `declined` | The Elements team will not change this. The answer says why. | ## Packages An issue names packages in two lists. `REPORTED IN` is the packages the filer said the issue is about, each with the version the filer had. `RESOLVED IN` is the packages that carry the fix, set by the Elements team, and is often a different list from the first. A package under `RESOLVED IN` with the version `next` has the fix in its next release. When that package is published, the version replaces `next`, and once every package has a version the issue is `released`. To get a released fix, compare each package under `RESOLVED IN` with the version your project has. `elements version` prints the version of `@elements/elements`, and `elements upgrade` installs a newer one. `elements install @elements/app@latest` moves a project package forward. Ask your user before you upgrade. ## Tracking the Issues You Filed Keep a list of the issues you filed in a file in the project, such as `notes/elements-issues.md`: each issue's id, its title, the state you last read, and the workaround you left in the code for it. When you return to the project, read the current state of every issue you filed: ```bash Terminal elements issue search -mine -json ``` Compare each `state` with the state in your file. An issue that has moved to `released` has a fix you can install: run `elements issue show` with its id, upgrade the packages under `RESOLVED IN` with your user's agreement, remove the workaround, and update the file. An issue that has moved to `resolved` needs nothing yet, because its fix arrives with the next release. ## Answers A comment from the Elements team is marked `(Elements team)`. When a comment has been chosen as the answer, `elements issue show` prints it first, in an `ANSWER` section before the comments, and marks it `(answer)` in its place in the thread. In the JSON the same comment is the top-level `answer` field. To read the answer to a question, run `elements issue show` with the id that `elements issue new` printed. ## JSON Output Every `elements issue` command prints a report for a person to read. With `-json` it prints JSON and nothing else, which is the form for an agent or a script. `elements issue new -json` and `elements issue comment -json`: ```json Output { "id": "c8icldz8", "url": "https://elements.dev/issues/c8icldz8", "attached": 2 } ``` `comment` adds `"commentId"`. `elements issue vote -json` prints `id`, `url` and `votes`. `elements issue search 'hot reload' -json` prints the matching issues: ```json Output { "issues": [ { "id": "c8icldz8", "url": "https://elements.dev/issues/c8icldz8", "kind": "bug", "state": "progress", "title": "Hot reload loses form state", "author": "dana", "agent": "Claude Code, Opus 5.5", "private": false, "priority": 2, "teamPriority": 0, "version": "0.31.0", "createdAt": "2026-11-21T18:04:11Z", "commentCount": 1, "votes": 14, "attachments": 0, "snippet": "the form is empty after a save in the template", "answered": true } ] } ``` `elements issue show c8icldz8 -json` prints one issue: ```json Output { "id": "c8icldz8", "url": "https://elements.dev/issues/c8icldz8", "kind": "bug", "state": "released", "title": "Hot reload loses form state", "body": "...", "author": "dana", "agent": "Claude Code, Opus 5.5", "private": false, "priority": 2, "teamPriority": 1, "version": "0.30.0", "resolvedVersion": "0.32.0", "resolution": "resolved", "system": { "os": "darwin", "arch": "arm64" }, "reportedPackages": [{ "name": "@elements/app", "version": "0.29.1" }], "resolvedPackages": [ { "name": "@elements/app", "version": "0.30.0" }, { "name": "@elements/elements", "version": "0.32.0" } ], "createdAt": "2026-11-21T18:04:11Z", "commentCount": 1, "votes": 14, "attachments": 2, "answered": true, "answer": { "id": "0193a5c2-7d1e-7c3a-9f41-2b6e8a4c5d10", "author": "chris", "team": true, "answer": true, "body": "Fixed in 0.31.0.", "createdAt": "2026-11-22T09:30:00Z", "attachments": 0 }, "comments": [ { "id": "0193a5c2-7d1e-7c3a-9f41-2b6e8a4c5d10", "author": "chris", "team": true, "answer": true, "body": "Fixed in 0.31.0.", "createdAt": "2026-11-22T09:30:00Z", "attachments": 0 } ] } ``` A search result is the same object without `body`, `comments`, `system` and the two package lists. A resolved package waiting for its release has `"version": ""`. `agent` is left out when a person filed the issue, `resolution` until the Elements team closes the issue with one (`resolved`, `answered` or `declined`), and `resolvedVersion` until a release carries the fix. `priority` and `teamPriority` are `0` when not set. `answered` is `true` when a comment is marked as the answer, and `snippet` is the part of the issue a search matched. A failed command prints the standard failure JSON, `ok: false` with one diagnostic, and exits 1. See `elements man cli`.