multica-ai/multica · error
reorder issue: %w
Error message
reorder issue: %w
What it means
Error "reorder issue: %w" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_issue.go:1660
insertIdx = idx + 1
}
}
reordered := make([]string, 0, len(ordered)+1)
reordered = append(reordered, ordered[:insertIdx]...)
reordered = append(reordered, issueRef.ID)
reordered = append(reordered, ordered[insertIdx:]...)
currentPos := positions[issueRef.ID]
newPos := computeReorderPosition(reordered, issueRef.ID, positions, currentPos)
if newPos == currentPos {
fmt.Fprintf(os.Stderr, "Issue %s is already in that position.\n", issueRef.Display)
return issueReorderOutput(cmd, target)
}
var result map[string]any
if err := client.PutJSON(ctx, "/api/issues/"+url.PathEscape(issueRef.ID), map[string]any{"position": newPos}, &result); err != nil {
return fmt.Errorf("reorder issue: %w", err)
}
fmt.Fprintf(os.Stderr, "Issue %s reordered.\n", issueDisplayKey(result))
return issueReorderOutput(cmd, result)
}
// issueReorderOutput prints an issue map as a table or JSON, matching the
// update command's output contract.
func issueReorderOutput(cmd *cobra.Command, issue map[string]any) error {
output, _ := cmd.Flags().GetString("output")
if output == "table" {
headers := []string{"KEY", "TITLE", "STATUS", "PRIORITY"}
rows := [][]string{{
issueDisplayKey(issue),
strVal(issue, "title"),
strVal(issue, "status"),
strVal(issue, "priority"),
}}
cli.PrintTable(os.Stdout, headers, rows)View on GitHub (pinned to 2c0912b6ec)
Solutions
- Refresh the board and retry the reorder.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_issue.go:1660 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/a287211939adb4a3.
Report an issue: GitHub.