feat(issue): add --all and --status filters to issue list - #117
Merged
Conversation
- --all removes completedAt/canceledAt null-check filters so completed and cancelled issues are included in results - --status accepts comma-separated workflow state types (triage, backlog, unstarted, started, completed, cancelled) and injects a state.type.in GraphQL filter; when status includes completed/cancelled types, the corresponding date null-checks are also suppressed - Wires both new inputs through Commands.issue_list into Linear.issues - Validates --status values in the Optimus parser with a clear error - Adds four new tests covering --all, --status started, --status completed, and multi-type --status, plus Optimus-level rejection of unknown types Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
bougyman
pushed a commit
that referenced
this pull request
Aug 14, 2026
🤖 I have created a release *beep* *boop* --- ## [1.8.0](v1.7.0...v1.8.0) (2026-08-14) ### Features * **issue:** add --all and --status filters to issue list ([#117](#117)) ([4517e82](4517e82)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--allflag removescompletedAt/canceledAtnull-check filters so completed and cancelled issues appear in results--statusoption accepts comma-separated workflow state types (triage,backlog,unstarted,started,completed,cancelled) and injects astate.type.inGraphQL filter; when the requested status includescompletedorcancelledtypes, the corresponding date null-checks are also suppressed so those issues aren't pre-filtered before the state type filter can match themCommands.issue_list→Linear.issues→build_filter--statusvalues are rejected at parse time by the Optimus parser with a clear error messageCloses CRY-44.
Test plan
--alltest: verifiescompletedAt/canceledAtare absent from the GraphQL filter variables--status startedtest: verifiesstate.type.infilter is present and date filters remain (started is not completed/cancelled)--status completedtest: verifiesstate.type.inpresent,completedAtabsent,canceledAtpresent--status started,completedtest: verifies multi-type filter and selective date suppression--status badtypetest: verifies Optimus rejects the unknown value and calls halt with exit code 1🤖 Generated with Claude Code