linear-cli icon indicating copy to clipboard operation
linear-cli copied to clipboard

issue view: include assignee in output

Open mrmza opened this issue 8 months ago • 1 comments

Problem

linear issue view <ID> does not include the assignee in its output — neither in the default markdown rendering nor in --json mode.

Assignee is basic issue metadata (like state, project, cycle) that users frequently need when triaging or reviewing issues. Currently the only way to get it is via a raw GraphQL call:

linear api '{ issue(id: "TEN-XXX") { assignee { displayName } } }'

Expected behavior

linear issue view should show the assignee name, similar to how it already shows state, project, milestone, and cycle.

For --json, the output should include an assignee field (e.g. {"assignee": {"name": "...", "displayName": "..."}}).

Version

linear 1.11.1 (Homebrew, schpet/tap)

mrmza avatar Mar 29 '26 21:03 mrmza

Thanks for the report. This was fixed in #190: https://github.com/schpet/linear-cli/pull/190

That change landed after v1.11.1, which is the version you reported from. If you're able to update once the next release is available (or try the current main branch build), could you confirm whether the assignee now shows up correctly in both linear issue view <ID> and --json output?

schpetbot avatar Apr 02 '26 22:04 schpetbot