Kanbanize Kartenerstellung dokumentiert: Arrival-Rule-Workaround, Board-Struktur
- 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>
This commit is contained in:
52
plans/crispy-dancing-gray.md
Normal file
52
plans/crispy-dancing-gray.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# Plan: Aufräumen + Kanbanize-Workflow dokumentieren
|
||||
|
||||
## Teil 1: Test-Karte 13515 aufräumen
|
||||
|
||||
1. Parent-Link entfernen: `DELETE /api/v2/cards/13515/parents/13458`
|
||||
2. 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:**
|
||||
|
||||
1. Karte in Workflow 2 erstellen: `POST /api/v2/cards` mit `workflow_id: 2, lane_id: 5, column_id: 29`
|
||||
2. Parent-Link setzen: `PUT /api/v2/cards/{new_id}/parents/{parent_id}`
|
||||
3. Nach Aufgaben ToDo verschieben: `PATCH /api/v2/cards/{new_id}` mit `workflow_id: 1, column_id: 2, lane_id: 1`
|
||||
4. Titel/Beschreibung/Owner setzen: `PATCH /api/v2/cards/{new_id}` (kann mit Schritt 3 kombiniert werden)
|
||||
|
||||
**Workflow B — Thema existiert noch nicht:**
|
||||
|
||||
1. Thema in Workflow 2 erstellen: `POST /api/v2/cards` mit `workflow_id: 2, lane_id: 5, column_id: 29`
|
||||
2. Kind-Karte in Workflow 2 erstellen: `POST /api/v2/cards` (gleiche Parameter)
|
||||
3. Parent-Link setzen: `PUT /api/v2/cards/{child_id}/parents/{theme_id}`
|
||||
4. Kind-Karte nach Aufgaben ToDo verschieben: `PATCH /api/v2/cards/{child_id}` mit `workflow_id: 1, column_id: 2, lane_id: 1`
|
||||
5. 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)
|
||||
- `linkedCards` Sub-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_cards` enthält nur 13459 + 13516 (nicht mehr 13515)
|
||||
- CLAUDE.md: Neuer Abschnitt vorhanden, Settings-Sync nach Gitea gepusht
|
||||
Reference in New Issue
Block a user