Skip to content

feat(error-tracking): add --state, --team, --assignee filters to issues search#541

Merged
platinummonkey merged 1 commit into
chore/upgrade-dd-sdk-to-masterfrom
feat/error-tracking-filters
May 30, 2026
Merged

feat(error-tracking): add --state, --team, --assignee filters to issues search#541
platinummonkey merged 1 commit into
chore/upgrade-dd-sdk-to-masterfrom
feat/error-tracking-filters

Conversation

@platinummonkey
Copy link
Copy Markdown
Collaborator

Summary

Exposes new filter parameters on pup error-tracking issues search from SDK PRs #1568 and #1480.

Changes

  • src/commands/error_tracking.rs — add state, team, assignee params to issues_search; map state string → IssueState enum; accept team/assignee as UUIDs; update all existing call sites to pass None for new params
  • src/main.rs — add --state, --team, --assignee optional args to ErrorTrackingIssueActions::Search; thread through to dispatch call
  • docs/COMMANDS.md — document new flags

New flags

--state <STATE>     Filter by issue state: OPEN, ACKNOWLEDGED, RESOLVED, IGNORED, EXCLUDED
--team <UUID>       Filter by team UUID assignee
--assignee <UUID>   Filter by user UUID assignee

These are independent of the existing --track/--persona mutual exclusion.

Testing

  • test_issues_search_with_state — happy path with state=OPEN
  • test_issues_search_invalid_state — rejects unknown state values
  • test_issues_search_invalid_team_uuid — rejects non-UUID team input
  • test_issues_search_invalid_assignee_uuid — rejects non-UUID assignee input
  • test_error_tracking_clap_state_accepted — clap accepts --state alongside --track

🤖 Generated with Claude Code


Generated by Claude Code

…es search

Exposes new SDK filter params from PRs #1568 and #1480:
- --state: OPEN, ACKNOWLEDGED, RESOLVED, IGNORED, EXCLUDED
- --team <UUID>: filter by team UUID assignee
- --assignee <UUID>: filter by user UUID assignee

Co-Authored-By: Claude <noreply@anthropic.com>
@platinummonkey platinummonkey requested a review from a team as a code owner May 29, 2026 11:55
@platinummonkey platinummonkey merged commit 4f6e0de into chore/upgrade-dd-sdk-to-master May 30, 2026
7 checks passed
@platinummonkey platinummonkey deleted the feat/error-tracking-filters branch May 30, 2026 10:17
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