Add --assigned filter to maniphest search with OR logic support#134
Merged
Add --assigned filter to maniphest search with OR logic support#134
Conversation
Timpan4
approved these changes
Feb 24, 2026
Implements support for filtering Maniphest tasks by assignee using the --assigned parameter. Users can now filter tasks assigned to themselves using "@me" or specify another user by username. Features: - New --assigned=USER parameter in maniphest search command - Special "@me" syntax that resolves to the current authenticated user - Support for filtering by any username - Works with all other search filters (tags, dates, columns, etc.) - Adds assigned constraint to all maniphest.search API query paths Examples: phabfive maniphest search --assigned @me phabfive maniphest search --assigned @me --tag MyProject phabfive maniphest search --assigned username --updated-after 7 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Extends the --assigned filter to support multiple assignees with OR logic using comma-separated values (e.g., --assigned @me,user1,user2). Changes: - Parse comma-separated usernames in --assigned parameter - Resolve each username (including @me) to PHID individually - Pass all PHIDs as a list to the Phabricator API assigned constraint - API natively supports OR logic for multiple PHIDs in assigned filter - Updated help text and examples to document OR logic usage Examples: phabfive maniphest search --assigned @me,user1 phabfive maniphest search --assigned @me,user1 --tag dynatron --status 'not:in:Resolved' This allows users to efficiently find tasks assigned to any of multiple users without making separate queries. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
61dba73 to
2c7cfdd
Compare
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
Implements support for filtering Maniphest tasks by assignee using the
--assignedparameter. Users can now filter tasks assigned to themselves using@meor specify other users by username. Supports OR logic with comma-separated values for filtering by multiple assignees.Features
Single assignee filtering:
--assigned @me- Filter tasks assigned to current authenticated user--assigned username- Filter tasks assigned to specific userMultiple assignees with OR logic:
--assigned @me,user1,user2- Filter tasks assigned to ANY of the specified users--tagfilter)Works with all other filters:
--tag,--status,--priority, date filters, etc.--assigned @me,user1 --tag dynatron --status 'not:in:Resolved'Implementation Details
user.whoami()to resolve@meto current user's PHID_resolve_user_phid()methodmaniphest.searchAPI'sassignedconstrainttask_search()methodExamples
Testing
Related
Closes any related issues (if applicable)
🤖 Generated with Claude Code