{"record":{"id":"8e713c2d4114fd91","repo":"multica-ai/multica","slug":"update-status-w","errorCode":null,"errorMessage":"update status: %w","messagePattern":"update status: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/cmd/multica/cmd_issue.go","lineNumber":1477,"sourceCode":"\tif err != nil {\n\t\treturn err\n\t}\n\n\tctx, cancel := cli.APIContext(context.Background())\n\tdefer cancel()\n\n\tissueRef, err := resolveIssueRef(ctx, client, id)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"resolve issue: %w\", err)\n\t}\n\n\tbody := map[string]any{\"status\": status}\n\tif noStart {\n\t\tbody[\"suppress_run\"] = true\n\t}\n\tvar result map[string]any\n\tif err := client.PutJSON(ctx, \"/api/issues/\"+issueRef.ID, body, &result); err != nil {\n\t\treturn fmt.Errorf(\"update status: %w\", err)\n\t}\n\n\tfmt.Fprintf(os.Stderr, \"Issue %s status changed to %s.\\n\", issueDisplayKey(result), status)\n\n\toutput, _ := cmd.Flags().GetString(\"output\")\n\tif output == \"json\" {\n\t\treturn cli.PrintJSON(os.Stdout, result)\n\t}\n\treturn nil\n}\n\n// ---------------------------------------------------------------------------\n// Reorder command\n// ---------------------------------------------------------------------------\n\n// registerIssueReorderFlags wires the reorder command's flags and declares its\n// target selector as a cobra flag group: mutually exclusive so at most one of\n// --before/--after/--top/--bottom is accepted, and one-required so at least one","sourceCodeStart":1459,"sourceCodeEnd":1495,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/cmd/multica/cmd_issue.go#L1459-L1495","documentation":"Error \"update status: %w\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/cmd/multica/cmd_issue.go:1477 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the server response for details and retry the status update."],"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-15T17:31:12.345Z"}