⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
docs: add PLANKA migration guide
Andrejfb1df05f7b10
diff --git a/apps/docs/core/migrations/from-planka.mdx b/apps/docs/core/migrations/from-planka.mdxnew file mode 100644index 000000000..8e92bc3d5--- /dev/null+++ b/apps/docs/core/migrations/from-planka.mdx@@ -0,0 +1,140 @@+---+title: Migrating from PLANKA+description: Move your PLANKA boards into Kaneo with the @kaneo/planka-import CLI, including lists, cards, labels, assignees, checklists and comments+---++PLANKA has no export feature, so there is no file to hand over. Instead,+`@kaneo/planka-import` reads your boards directly from PLANKA's REST API and+recreates them in Kaneo through Kaneo's public API.++Nothing is written back to PLANKA, and your PLANKA credentials stay on your+machine: the CLI talks to both servers itself, so no third party sees them.++## Before you start++You need:++- A PLANKA account that can see the boards you want to move.+- A Kaneo workspace, and an API key from **Settings → API keys**.+- Node.js 20 or newer.++Invite your team to the Kaneo workspace **before** importing. Assignees are+matched by email address, so anyone who isn't a member yet will have their cards+imported unassigned.++## Start with a dry run++A dry run reads PLANKA only and writes nothing. It needs no Kaneo API key, so+it's a safe first step:++```bash+npx @kaneo/planka-import --planka-url https://planka.example.com --dry-run+```++You'll be asked for your PLANKA login and which boards to migrate. The output+tells you exactly what would be created:++```+Planned import:+ • Marketing Site 3 columns 24 tasks 5 labels 12 comments+ ! List "Planned" was imported as column "Planned list" to avoid a naming conflict in Kaneo.+ – skipping Archive (archive/trash lists are not migrated)+ – 3 attachment(s) will not be migrated+```++## Run the import++When the plan looks right, add your Kaneo credentials and drop `--dry-run`:++```bash+npx @kaneo/planka-import \+ --planka-url https://planka.example.com \+ --kaneo-url https://app.kaneo.app \+ --kaneo-api-key kaneo_xxx \+ --workspace ws_123+```++Self-hosting Kaneo? Point `--kaneo-url` at your own instance. If you leave+`--workspace` off, you'll be asked to pick one.++To skip the prompts entirely, for example in a script:++```bash+npx @kaneo/planka-import \+ --planka-url https://planka.example.com \+ --planka-user [email protected] \+ --kaneo-api-key kaneo_xxx \+ --workspace ws_123 \+ --all --yes --report import-report.json+```++Set `PLANKA_PASSWORD` and `KANEO_API_KEY` as environment variables rather than+passing secrets on the command line, where they end up in your shell history.++## What carries over++| PLANKA | Kaneo |+| --- | --- |+| Board | Project |+| List | Column (a `Closed` list becomes the final column) |+| Card | Task |+| Card description | Task description |+| Checklists | Markdown checkboxes appended to the description |+| Labels | Labels, with their original colors |+| Card members | Assignee, matched by email |+| Due date | Due date |+| Comments | Comments, prefixed with the original author and date |++One Kaneo project is created per PLANKA **board**, because the board is what+holds the lists and cards. When a PLANKA project has more than one board, each+resulting Kaneo project is named `Project – Board`.++## What doesn't++- **Attachments.** Counted in the report, but not transferred. Download anything+ you need from PLANKA before you switch it off.+- **Archive and trash lists.** Skipped deliberately; only active and closed+ lists are migrated.+- **Comment authorship.** Kaneo attributes imported comments to the owner of the+ API key, so the original author and date are preserved in the comment body.+- **Priorities.** PLANKA has no priority field, so every task starts at+ `no-priority`.+- **Custom fields, stopwatches, and card subscriptions.** No Kaneo equivalent.++## Troubleshooting++**"This PLANKA instance requires you to accept its terms"** — sign in through+the PLANKA web UI once and accept them, then run the import again.++**Two-factor authentication** — password login can't complete a TOTP challenge.+Copy an access token from your browser's dev tools and pass `--planka-token`+instead of a username and password.++**A board failed partway** — failures are isolated per board, so the rest still+import and the summary names the one that failed. Delete the half-created Kaneo+project and re-run with `--project` to retry just that one.++## Re-running++The importer always creates new projects; it never updates ones it created+earlier. Running it twice gives you two copies, so delete the previous project+before retrying.++## Options++| Flag | Description |+| --- | --- |+| `--planka-url <url>` | PLANKA instance URL (required) |+| `--planka-user <user>` | Email or username |+| `--planka-password <pass>` | Password, or set `PLANKA_PASSWORD` |+| `--planka-token <token>` | Use an existing access token instead of logging in |+| `--kaneo-url <url>` | Kaneo instance URL (default `https://app.kaneo.app`) |+| `--kaneo-api-key <key>` | Kaneo API key, or set `KANEO_API_KEY` |+| `--workspace <id>` | Target workspace |+| `--project <name\|id>` | Migrate only this PLANKA project (repeatable) |+| `--all` | Migrate every board without prompting |+| `--dry-run` | Report what would happen, write nothing |+| `--skip-comments` | Don't migrate comments |+| `--icon <name>` | Lucide icon for created projects (default `Layout`) |+| `--report <path>` | Write a JSON report |+| `-y, --yes` | Skip the confirmation prompt |diff --git a/apps/docs/docs.json b/apps/docs/docs.jsonindex 55de06e50..8ea7c34a6 100644--- a/apps/docs/docs.json+++ b/apps/docs/docs.json@@ -112,7 +112,10 @@},{"group": "Migration",- "pages": ["core/guide/migrating-from-v1"]+ "pages": [+ "core/guide/migrating-from-v1",+ "core/migrations/from-planka"+ ]}]},