diff --git a/README.md b/README.md index dbda35c1..545af500 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ linear config # setup your repo, it writes a config file linear issue list # list unstarted issues assigned to you linear issue list -A # list unstarted issues assigned to anyone +linear issue search "login bug" # search issues in your configured team linear issue start # choose an issue to start, creates a branch linear issue start ABC-123 # start a specific issue linear issue view # see current branch's issue as markdown @@ -134,6 +135,8 @@ linear issue list # list your issues in a table view (supports -s/--state a linear issue list --project "My Project" --milestone "Phase 1" # filter by milestone linear issue list -w # open issue list in web browser linear issue list -a # open issue list in Linear.app +linear issue search "login bug" # search issues by text in your configured team +linear issue search "oauth timeout" --team ENG --json # structured search output for agents linear issue start # create/switch to issue branch and mark as started linear issue create # create a new issue (interactive prompts) linear issue create -t "title" -d "description" # create with flags diff --git a/skills/linear-cli/references/issue.md b/skills/linear-cli/references/issue.md index 4915540a..e7e7b4b1 100644 --- a/skills/linear-cli/references/issue.md +++ b/skills/linear-cli/references/issue.md @@ -20,6 +20,7 @@ Commands: id - Print the issue based on the current git branch list - List your issues + search - Search issues by text title [issueId] - Print the issue title start [issueId] - Start working on an issue view, v [issueId] - View issue details (default) or open in browser/app @@ -92,6 +93,40 @@ Options: --no-pager - Disable automatic paging for long output ``` +### search + +> Search issues by text + +``` +Usage: linear issue search + +Description: + + Search issues by text + +Options: + + -h, --help - Show this help. + -w, --workspace - Target workspace (uses credentials) + --team - Team to search in + --all-teams - Search across all teams + -s, --state - Filter by issue state (can be repeated for multiple states) (Values: "triage", "backlog", "unstarted", "started", + "completed", "canceled") + --assignee - Filter by assignee (username) + -U, --unassigned - Show only unassigned issues + --project - Filter by project name + --project-label - Filter by project label name (shows issues from all projects with this label) + -l, --label