Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
MUL-5648: docs(cli): `issue search` searches comments too, and its number match ignores the prefix (#6293)
LiaoyuanNing@TTC091d6e7c2372
diff --git a/server/cmd/multica/cmd_issue.go b/server/cmd/multica/cmd_issue.goindex ebd09d3130..cbbdf5d861 100644--- a/server/cmd/multica/cmd_issue.go+++ b/server/cmd/multica/cmd_issue.go@@ -353,9 +353,25 @@ var issueCancelTaskCmd = &cobra.Command{var issueSearchCmd = &cobra.Command{Use: "search <query>",- Short: "Search issues by title or description",- Args: cobra.ExactArgs(1),- RunE: runIssueSearch,+ Short: "Search issues by title, description, or comments",+ Long: "Search issues in the current workspace. The query is matched against issue\n" ++ "titles, descriptions and comment bodies. Comment bodies are searched too,\n" ++ "so a conclusion that only ever landed in a comment thread is still findable\n" ++ "here.\n\n" ++ "A bare number matches the issue with that number, and so does anything\n" ++ "shaped like an identifier: \"AGE-412\" and \"412\" both match issue 412. The\n" ++ "number match is the same either way, but the text search still uses the\n" ++ "query as written, so \"412\" also matches text containing \"1412\" while\n" ++ "\"AGE-412\" does not. The prefix is not validated, so \"MUL-412\" and\n" ++ "\"ZZZ-412\" match local issue 412 just the same. Number matches rank\n" ++ "first, so pasting an identifier from another tracker can put an\n" ++ "unrelated local issue at the top of the results.\n\n" ++ "Each result carries a match_source of \"title\", \"description\" or \"comment\",\n" ++ "shown in the MATCH column and returned by --output json. It reports the\n" ++ "strongest field that matched, and \"comment\" is also the fallback for a\n" ++ "number-only match, so treat it as a display hint rather than a filter.",+ Args: cobra.ExactArgs(1),+ RunE: runIssueSearch,}var validIssueStatuses = []string{