{"record":{"id":"dc74ff82cb1d98c2","repo":"multica-ai/multica","slug":"issue-s-was-not-found-in-the-q-column","errorCode":null,"errorMessage":"issue %s was not found in the %q column","messagePattern":"issue (.+?) was not found in the %q column","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/cmd/multica/cmd_issue.go","lineNumber":1694,"sourceCode":"\t\t\tstrVal(issue, \"priority\"),\n\t\t}}\n\t\tcli.PrintTable(os.Stdout, headers, rows)\n\t\treturn nil\n\t}\n\treturn cli.PrintJSON(os.Stdout, issue)\n}\n\n// reorderTargetNotInColumnError explains why a --before/--after target could\n// not be used. It fetches the target only to report its actual column in the\n// message, so the common mistake (target lives in a different column) gets a\n// precise, actionable error instead of a bare \"not found\".\nfunc reorderTargetNotInColumnError(ctx context.Context, client *cli.APIClient, otherRef, issueRef resolvedID, status string) error {\n\tif other, err := fetchIssue(ctx, client, otherRef.ID); err == nil {\n\t\tif otherStatus := strVal(other, \"status\"); otherStatus != \"\" && otherStatus != status {\n\t\t\treturn fmt.Errorf(\"issue %s is in the %q column but %s is in %q; move one with `multica issue status` first, or pick a target in the same column\", otherRef.Display, otherStatus, issueRef.Display, status)\n\t\t}\n\t}\n\treturn fmt.Errorf(\"issue %s was not found in the %q column\", otherRef.Display, status)\n}\n\n// fetchIssue retrieves a single issue by canonical ID.\nfunc fetchIssue(ctx context.Context, client *cli.APIClient, id string) (map[string]any, error) {\n\tvar issue map[string]any\n\tif err := client.GetJSON(ctx, \"/api/issues/\"+url.PathEscape(id), &issue); err != nil {\n\t\treturn nil, err\n\t}\n\treturn issue, nil\n}\n\n// fetchIssueColumn returns every issue in a status column ordered by position\n// ascending, paginating through the list endpoint so columns larger than one\n// page (the server caps a page at 100) still produce a complete, correctly\n// ordered set. A non-empty projectID scopes the column to that project,\n// matching a project board; an empty projectID lists the whole workspace\n// column.\nfunc fetchIssueColumn(ctx context.Context, client *cli.APIClient, workspaceID, projectID, status string) ([]map[string]any, error) {","sourceCodeStart":1676,"sourceCodeEnd":1712,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/cmd/multica/cmd_issue.go#L1676-L1712","documentation":"reorderTargetNotInColumnError could not find the target issue among the column's ordered IDs (target fetch failed or it is not present in that column's list), so the relative position cannot be computed.","triggerScenarios":"Thrown at server/cmd/multica/cmd_issue.go:1694 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Refresh the column list and verify the issue is in the expected column."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2c0912b6ec764b373d44eeea1e80f0d9f11ab417","analyzedAt":"2026-08-15T13:25:18.241Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}