Skip to content

Add --all-teams flag to issue list command#142

Open
schpetbot wants to merge 1 commit intomainfrom
schpetbot-pr-0819f854
Open

Add --all-teams flag to issue list command#142
schpetbot wants to merge 1 commit intomainfrom
schpetbot-pr-0819f854

Conversation

@schpetbot
Copy link
Collaborator

Add --all-teams flag to issue list command

Adds support for listing issues across all teams in a workspace using
the --all-teams flag, addressing GitHub issue #140.

Changes:

  • Add --all-teams option to issue list command
  • Update fetchIssuesForState to accept optional teamKey parameter
  • Add validation preventing simultaneous use of --all-teams and --team
  • Add test with deterministic timestamps using mocked Date
  • Update documentation in skills/linear-cli/references/issue.md

The test now uses a fixed base date and mocked Date constructor to
ensure deterministic timestamp output (e.g., '1 hour ago' instead of
'759 days ago'), making snapshots reliable across different test runs.

@schpetbot schpetbot force-pushed the schpetbot-pr-0819f854 branch from 1d7ea48 to 4a4c1ef Compare February 13, 2026 17:47
- Add --all-teams flag to allow viewing issues from all teams
- Make teamKey optional in fetchIssuesForState when using --all-teams
- Add deterministic tests with mocked Date to ensure snapshots are stable
- Validate mutual exclusion between --all-teams and --team flags
- Update documentation to reflect the new flag
@schpetbot schpetbot force-pushed the schpetbot-pr-0819f854 branch from 4a4c1ef to f032161 Compare February 14, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants