{"record":{"id":"36df4cbc49fde3d9","repo":"multica-ai/multica","slug":"workspace-id-is-required-to-resolve-assignees-use","errorCode":null,"errorMessage":"workspace ID is required to resolve assignees; use --workspace-id or set MULTICA_WORKSPACE_ID","messagePattern":"workspace ID is required to resolve assignees; use --workspace-id or set MULTICA_WORKSPACE_ID","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/cmd/multica/cmd_issue.go","lineNumber":2565,"sourceCode":"\t}\n\tif k.squad {\n\t\tparts = append(parts, \"squad\")\n\t}\n\tswitch len(parts) {\n\tcase 0:\n\t\treturn \"<none>\"\n\tcase 1:\n\t\treturn parts[0]\n\tcase 2:\n\t\treturn parts[0] + \" or \" + parts[1]\n\tdefault:\n\t\treturn strings.Join(parts[:len(parts)-1], \", \") + \", or \" + parts[len(parts)-1]\n\t}\n}\n\nfunc resolveAssignee(ctx context.Context, client *cli.APIClient, name string, kinds assigneeKinds) (string, string, error) {\n\tif client.WorkspaceID == \"\" {\n\t\treturn \"\", \"\", fmt.Errorf(\"workspace ID is required to resolve assignees; use --workspace-id or set MULTICA_WORKSPACE_ID\")\n\t}\n\n\tinput := normalizeAssigneeLookupInput(name)\n\tif input == \"\" {\n\t\treturn \"\", \"\", fmt.Errorf(\"no %s found matching %q\", kinds.describe(), name)\n\t}\n\tinputLower := strings.ToLower(input)\n\n\t// Matches are collected into three priority buckets. Higher-priority buckets\n\t// short-circuit lower-priority matching so that, e.g., an exact name match\n\t// always wins over a substring collision with another candidate.\n\t//   1. idMatches        — full UUID or 8-char ShortID (as shown by `truncateID`).\n\t//   2. exactMatches     — case-insensitive full name equality.\n\t//   3. substringMatches — preserves the existing partial-name UX.\n\tvar idMatches, exactMatches, substringMatches []assigneeMatch\n\tvar errs []error\n\tvar fetchAttempts int\n","sourceCodeStart":2547,"sourceCodeEnd":2583,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/cmd/multica/cmd_issue.go#L2547-L2583","documentation":"Error \"workspace ID is required to resolve assignees; use --workspace-id or set MULTICA_WORKSPACE_ID\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/cmd/multica/cmd_issue.go:2565 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use --workspace-id or set MULTICA_WORKSPACE_ID."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2c0912b6ec764b373d44eeea1e80f0d9f11ab417","analyzedAt":"2026-08-15T13:25:18.241Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}