- Neuer Abschnitt "Karten erstellen (Aufgaben-Workflow)" mit Workflow A/B - Bekannte Struktur erweitert: Workflows, Columns, Lanes für Board 1 - Pitfalls ergänzt: Arrival Rule, Parent-Link API, linkedCards read-only - Settings und Plans aktualisiert Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.8 KiB
Plan: Aufräumen + Kanbanize-Workflow dokumentieren
Teil 1: Test-Karte 13515 aufräumen
- Parent-Link entfernen:
DELETE /api/v2/cards/13515/parents/13458 - Zurück nach Ready to Archive (Workflow 2):
PATCH /api/v2/cards/13515→{"workflow_id": 2, "column_id": 10, "lane_id": 5}
Teil 2: Kanbanize-Kartenerstellung in CLAUDE.md dokumentieren
Neuer Abschnitt "### Karten erstellen (Aufgaben-Workflow)" nach dem bestehenden Abschnitt "Karten verschieben" (Zeile 1095) einfügen.
Inhalt des neuen Abschnitts
Dokumentiert den 3-Schritt-Workflow, der die Arrival Rule auf Board 1 / Workflow 1 umgeht. Gilt ausschließlich für das Vinos-Board (Board 1, weinvinosgmbh.kanbanize.com) — wird als Unter-Abschnitt im bestehenden Vinos-Kanbanize-Block eingefügt:
Hintergrund: Workflow 1 (Aufgaben) hat eine Arrival Rule, die verlangt, dass jede Karte mit einem Thema (Parent im Themen-Workflow 2) verknüpft ist. Direkte Kartenerstellung in Workflow 1 per API ist daher nicht möglich.
Workflow A — Thema existiert bereits:
- Karte in Workflow 2 erstellen:
POST /api/v2/cardsmitworkflow_id: 2, lane_id: 5, column_id: 29 - Parent-Link setzen:
PUT /api/v2/cards/{new_id}/parents/{parent_id} - Nach Aufgaben ToDo verschieben:
PATCH /api/v2/cards/{new_id}mitworkflow_id: 1, column_id: 2, lane_id: 1 - Titel/Beschreibung/Owner setzen:
PATCH /api/v2/cards/{new_id}(kann mit Schritt 3 kombiniert werden)
Workflow B — Thema existiert noch nicht:
- Thema in Workflow 2 erstellen:
POST /api/v2/cardsmitworkflow_id: 2, lane_id: 5, column_id: 29 - Kind-Karte in Workflow 2 erstellen:
POST /api/v2/cards(gleiche Parameter) - Parent-Link setzen:
PUT /api/v2/cards/{child_id}/parents/{theme_id} - Kind-Karte nach Aufgaben ToDo verschieben:
PATCH /api/v2/cards/{child_id}mitworkflow_id: 1, column_id: 2, lane_id: 1 - Titel/Beschreibung/Owner auf beiden Karten setzen
Ergänzung der Bekannte Struktur-Tabelle (Zeile 995) um Workflows, Lanes und Columns beider Workflows.
Ergänzung der Pitfalls (Zeile 1097) um:
- Arrival Rule auf Workflow 1 blockiert direkte Kartenerstellung per API
- Parent-Link Endpunkt:
PUT /cards/{id}/parents/{parent_id}(nicht POST/PATCH) linkedCardsSub-Resource ist read-only (nur GET)
Betroffene Datei
~/dotfiles/claude_settings/CLAUDE.md(Zeile ~1076-1102)
Teil 3: Auto-Memory aktualisieren
Kanbanize-Workflow-Erkenntnisse in /home/rwiegand/.claude/projects/-home-rwiegand-Nextcloud-vinos-zabbix/memory/MEMORY.md festhalten.
Verifizierung
- Karte 13515:
GET /api/v2/cards/13515/parents→ leer, Column = 10 (Ready to Archive) - Thema 13458:
GET /api/v2/cards/13458→linked_cardsenthält nur 13459 + 13516 (nicht mehr 13515) - CLAUDE.md: Neuer Abschnitt vorhanden, Settings-Sync nach Gitea gepusht