⚡ 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 guides for importing from other tools
Andrej9a7b3ac0bff6
diff --git a/apps/docs/core/installation/environment-variables.mdx b/apps/docs/core/installation/environment-variables.mdxindex 8c8a4ce66..cebe7fd56 100644--- a/apps/docs/core/installation/environment-variables.mdx+++ b/apps/docs/core/installation/environment-variables.mdx@@ -124,7 +124,15 @@ Name | Description | Default |Name | Description | Default |--- | --- | --- || `NOTIFICATION_SECRET_ENCRYPTION_KEY` | Required to store personal notification tokens and webhook signing secrets. Generate a random value, keep it stable, and include it in protected configuration backups. Changing or losing it prevents decryption of existing secrets. | Unset |-| `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS` | Allow outbound notification destinations (ntfy, Gotify, generic webhooks) and self-managed Gitea or GitLab instances that resolve to private or non-routable addresses. Off by default to prevent SSRF; the `http`/`https` requirement still applies. Only enable on a trusted, isolated deployment. | `false` |+| `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS` | Allow outbound notification destinations (ntfy, Gotify, generic webhooks), self-managed Gitea or GitLab instances, and [import sources](/core/migrations) that resolve to private or non-routable addresses. Off by default to prevent SSRF; the `http`/`https` requirement still applies. Only enable on a trusted, isolated deployment. | `false` |++### Imports++The [in-app importer](/core/migrations) reads from the source on the API server. Sources on a private network, such as a PLANKA container in the same Docker network, also need `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS=true` (see [Notifications](#notifications)).++Name | Description | Default |+--- | --- | --- |+| `TRELLO_API_KEY` | API key of a Trello Power-Up you create at [trello.com/power-ups/admin](https://trello.com/power-ups/admin). Enables the one-click **Authorize on Trello** button when importing from Trello. Kaneo only hands it to workspace admins, inside the authorize link, when they start a Trello import. The key identifies the app and grants no access by itself. Without it, users paste their own Trello API key in the import form. See [Import from Trello](/core/migrations/from-trello#set-up-trello-on-a-self-hosted-instance). | Unset |### GitHub SSOdiff --git a/apps/docs/core/integrations/gitlab/setup.mdx b/apps/docs/core/integrations/gitlab/setup.mdxindex 9ff6a8f7f..4bc18c049 100644--- a/apps/docs/core/integrations/gitlab/setup.mdx+++ b/apps/docs/core/integrations/gitlab/setup.mdx@@ -63,7 +63,7 @@ The webhook URL includes your integration id, for example:## GitLab on a private network-By default Kaneo refuses a GitLab URL that resolves to a private or loopback address. If your instance is only reachable inside your network, set `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS=true` on the API. The same variable lifts the check for Gitea and notification destinations, so only enable it on a trusted deployment.+By default Kaneo refuses a GitLab URL that resolves to a private or loopback address. If your instance is only reachable inside your network, set `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS=true` on the API. The same variable lifts the check for Gitea, notification destinations, and [import sources](/core/migrations), so only enable it on a trusted deployment.Without this variable the GitLab URL must use `https`, since the access token is sent with every request.diff --git a/apps/docs/core/migrations/from-kaneo.mdx b/apps/docs/core/migrations/from-kaneo.mdxnew file mode 100644index 000000000..924559a97--- /dev/null+++ b/apps/docs/core/migrations/from-kaneo.mdx@@ -0,0 +1,59 @@+---+title: Import from another Kaneo instance+description: Copy projects between Kaneo instances, for example from Kaneo Cloud to a self-hosted instance or back.+---++Use this to move projects between Kaneo instances, for example from Kaneo Cloud to your own server, or from your server to Kaneo Cloud. Each project you select becomes a new project in the workspace you import into. Read [Import from other tools](/core/migrations) first for the rules that apply to every import.++## Before you start++You need:++- To be an admin of the Kaneo workspace you are importing into.+- The URL of the other instance, for example `https://cloud.kaneo.app`.+- An API key created on the other instance. Sign in there and open **Settings → Account → API Keys**.++Invite your team to the workspace you are importing into first. Assignees are matched by email, so anyone who isn't a member yet will have their tasks imported unassigned.++## Connect++1. On the instance you are importing into, open **Settings → Workspace → Import** and choose **Another Kaneo**.+2. Paste the other instance's URL and the API key you created there.+3. Select the projects to import. The list includes projects from every workspace the key can see. Leave comments on, or turn them off.+4. Start the import. You can leave the page while it runs and check **Recent imports** later.++## What carries over++| Other instance | This instance |+| --- | --- |+| Project | Project |+| Project key, for example `WEB` | Project key. If another project in the workspace uses it, Kaneo adds a suffix, for example `WEB-2`. Characters other than letters and digits are dropped, so `MY-APP` becomes `MYAPP` |+| Columns | Columns |+| Tasks, including planned and archived ones | Tasks, still planned or archived |+| Task numbers | Task numbers, so `WEB-12` stays `WEB-12` |+| Priority | Priority |+| Dates | Dates |+| Labels | Labels |+| Assignee | Assignee, matched by email |+| Comments | Comments, with the original author's name and date |+| Task relations within the project | Task relations |++## What doesn't++- **Custom fields.**+- **Time entries.**+- **Attachments.** Images and files in descriptions and comments still point to the other instance and may not display. Download any files you need from the other instance first.+- **Task relations to tasks in other projects.**+- **Integration links on tasks**, such as linked GitHub issues.++Project integrations and other project settings are not copied. Set them up again after the import.++## Troubleshooting++**The key is rejected**: check that you created the key on the instance whose URL you entered, and that it hasn't been revoked.++**A project is missing from the list**: the key has the same access as the account that created it. If that account is limited to selected projects in a workspace, only those projects are listed.++**The other instance can't be reached**: the instance you import into must be able to reach the other one over the network. Kaneo Cloud can't import from a self-hosted instance that is only reachable inside your network. Between two self-hosted instances on a private network, the operator of the importing instance must set `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS=true`. See [Self-hosted instances](/core/migrations#self-hosted-instances).++**Tasks are unassigned**: the assignee's email must match a member of the workspace you import into. Invite them, delete the imported project, and import it again, or assign the tasks by hand.diff --git a/apps/docs/core/migrations/from-linear.mdx b/apps/docs/core/migrations/from-linear.mdxnew file mode 100644index 000000000..e703db83a--- /dev/null+++ b/apps/docs/core/migrations/from-linear.mdx@@ -0,0 +1,57 @@+---+title: Import from Linear+description: Move Linear teams into Kaneo, including workflow states, issues, priorities, labels, assignees, comments, and relations.+---++Each Linear team becomes a Kaneo project. Read [Import from other tools](/core/migrations) first for the rules that apply to every import.++## Before you start++You need:++- To be an admin of the Kaneo workspace you are importing into.+- A Linear personal API key. In Linear, open **Settings → Account → Security & access**, and create a key under **Personal API keys**. Read access is enough.++Invite your team to the Kaneo workspace first. Assignees are matched by email, so anyone who isn't a member yet will have their issues imported unassigned.++## Connect++1. In Kaneo, open **Settings → Workspace → Import** and choose **Linear**.+2. Paste your Linear API key.+3. Select the teams to import. Leave comments on, or turn them off.+4. Start the import. You can leave the page while it runs and check **Recent imports** later.++## What carries over++| Linear | Kaneo |+| --- | --- |+| Team | Project |+| Team key, for example `ENG` | Project key. If another project in the workspace uses it, Kaneo adds a suffix, for example `ENG-2` |+| Workflow states | Columns, in Linear's order. **Completed**, **Canceled**, and **Duplicate** states become final columns. A **Duplicate** state only becomes a column when an issue is in it. Issues in **Backlog** and **Triage** states go to the project's **Backlog** instead of the board |+| Issue | Task |+| Issue number, for example `ENG-123` | Task number, so `ENG-123` stays `ENG-123` |+| Description | Task description, in Markdown |+| Priority (Urgent, High, Medium, Low) | The same priority |+| Due date | Due date |+| Assignee | Assignee, matched by email |+| Labels | Labels, with their colors |+| Comments | Comments, with the original author's name and date |+| Sub-issues | Subtask relations |+| Blocks, related, similar, and duplicate relations | Blocks relations stay blocks relations. The others become related relations |++## What doesn't++- **Archived issues.** They are skipped.+- **Attachments.** Download anything you need from Linear before you stop using it.+- **Cycles.**+- **Linear projects and milestones.** Issues from all of a team's projects land in the one Kaneo project for that team, without their Linear project or milestone.+- **Estimates.**+- **Sub-issue and relation links to issues in other teams.**++## Troubleshooting++**The key is rejected**: check that you copied the whole key. Linear only shows it once, so create a new one if you lost it.++**A team is missing from the list**: the key only sees teams your Linear account can see.++**Tasks are unassigned**: the assignee's Linear email must match a member of the Kaneo workspace. Invite them, delete the imported project, and import it again, or assign the tasks by hand.diff --git a/apps/docs/core/migrations/from-plane.mdx b/apps/docs/core/migrations/from-plane.mdxnew file mode 100644index 000000000..9cc3bca6f--- /dev/null+++ b/apps/docs/core/migrations/from-plane.mdx@@ -0,0 +1,67 @@+---+title: Import from Plane+description: Move Plane projects into Kaneo from Plane Cloud or a self-hosted Plane, including states, work items, priorities, dates, labels, comments, and sub-issues.+---++Each Plane project becomes a Kaneo project. This works with Plane Cloud and self-hosted Plane. Read [Import from other tools](/core/migrations) first for the rules that apply to every import.++## Before you start++You need:++- To be an admin of the Kaneo workspace you are importing into.+- Your Plane workspace URL. Open the workspace in Plane and copy the address from the browser, for example `https://app.plane.so/your-workspace`. Any page inside the workspace works. For self-hosted Plane, the address is on your own domain, for example `https://plane.example.com/your-workspace`.+- A Plane personal access token. In Plane, open **Profile settings → Developer → Personal Access Tokens** and create one. Plane asks you to choose an expiry, or **Never expires**. The token starts with `plane_api_`.++Invite your team to the Kaneo workspace first. Assignees are matched by email, so anyone who isn't a member yet will have their work items imported unassigned.++## Connect++1. In Kaneo, open **Settings → Workspace → Import** and choose **Plane**.+2. Paste your workspace URL and personal access token.+3. Select the projects to import. Leave comments on, or turn them off.+4. Start the import. You can leave the page while it runs and check **Recent imports** later.++## What carries over++| Plane | Kaneo |+| --- | --- |+| Project | Project |+| Project identifier, for example `WEB` | Project key. If another project in the workspace uses it, Kaneo adds a suffix, for example `WEB-2` |+| States | Columns, grouped the way Plane groups them. **Completed** and **Cancelled** states become final columns. Work items in **Backlog** (and **Triage**) states go to the project's **Backlog** instead of the board |+| Work item | Task |+| Work item number, for example `WEB-12` | Task number, so `WEB-12` stays `WEB-12` |+| Description | Task description, converted from HTML to Markdown |+| Priority (Urgent, High, Medium, Low) | The same priority |+| Start date and target date | Start date and due date |+| Assignees | Assignee: the first one, matched by email |+| Labels | Labels |+| Comments | Comments, with the original author's name and date |+| Sub-issues | Subtask relations |++## What doesn't++- **Cycles and modules.**+- **Estimates.**+- **Attachments.** Download anything you need from Plane before you stop using it.+- **Custom properties.**+- **Relations other than sub-issues**, such as blocking and related work items.+- **Extra assignees.** Kaneo has one assignee per task. Only the first assignee is kept, and the report says how many work items had more than one.++## Large projects take a while++Plane allows 60 API requests per minute. With comments on, Kaneo reads them with one request per work item, so a project with 600 work items takes about 10 minutes.++You don't need to keep the page open. Check **Recent imports** later. If you don't need the comments, turn them off to finish faster.++## Troubleshooting++**The workspace is not found, or no projects are listed**: copy the URL from the browser address bar while you are inside the workspace in Plane. The first part of the path must be the workspace name, for example `https://app.plane.so/your-workspace/projects`.++**The token is rejected**: check that you copied the whole token, starting with `plane_api_`, and that it has not expired. If it has, create a new personal access token and paste it again.++**A project is missing from the list**: archived Plane projects are not listed. Restore the project in Plane to import it.++**Self-hosted Plane on a private network**: the Kaneo server must be able to reach Plane. If Plane runs on your LAN or in the same Docker network, the operator must set `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS=true` on the Kaneo API. See [Self-hosted instances](/core/migrations#self-hosted-instances).++**Tasks are unassigned**: the assignee's Plane email must match a member of the Kaneo workspace. Invite them, delete the imported project, and import it again, or assign the tasks by hand.diff --git a/apps/docs/core/migrations/from-planka.mdx b/apps/docs/core/migrations/from-planka.mdxindex bb44da7f8..71f1062e2 100644--- a/apps/docs/core/migrations/from-planka.mdx+++ b/apps/docs/core/migrations/from-planka.mdx@@ -1,40 +1,92 @@----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+title: Import from PLANKA+description: Move PLANKA boards into Kaneo from the app or with the @kaneo/planka-import CLI, including lists, cards, labels, assignees, checklists, and comments.----`@kaneo/planka-import` reads your boards directly from PLANKA's REST API and-recreates them in Kaneo through Kaneo's public API.+Each PLANKA board becomes a Kaneo project. You can import from the Kaneo app, or use the [command line importer](#import-with-the-cli) if you prefer the terminal or your PLANKA is not reachable from the Kaneo server. Read [Import from other tools](/core/migrations) first for the rules that apply to every import.-The CLI reads from PLANKA and writes directly to your Kaneo instance. It does not modify PLANKA or use an intermediary migration service.+## Import in Kaneo-## Before you start+### Before you startYou need:-- A PLANKA account that can see the boards you want to move. If you sign in- through SSO and have no password, create a PLANKA API key and use- `--planka-api-key`.+- To be an admin of the Kaneo workspace you are importing into.+- Your PLANKA URL, for example `https://planka.example.com`.+- A PLANKA API key, or the email (or username) and password of a PLANKA account that can see the boards you want to move. If you sign in through SSO or use two-factor authentication, create an API key for the account.++Use a PLANKA admin account if you want to keep assignees. PLANKA hides other users' email addresses from accounts that are not admins, so Kaneo can only match those by full name.++Invite your team to the Kaneo workspace first. Assignees are matched by email, so anyone who isn't a member yet will have their cards imported unassigned.++### Connect++1. In Kaneo, open **Settings → Workspace → Import** and choose **PLANKA**.+2. Enter your PLANKA URL, then an API key or an email and password.+3. Select the boards to import. Leave comments on, or turn them off.+4. Start the import. You can leave the page while it runs and check **Recent imports** later.++### What carries over++| PLANKA | Kaneo |+| --- | --- |+| Board | Project, named after the PLANKA project. When a PLANKA project has several boards, each Kaneo project is named `Project - Board` |+| Active lists | Columns |+| Closed lists | Final columns |+| Card | Task |+| Card description | Task description |+| Checklists | Markdown checkboxes in the description |+| Checklist items linked to another card | Subtask relations |+| Due date | Due date |+| Labels | Labels, with their PLANKA colors |+| Card members | Assignee: the first member, matched by email |+| Comments | Comments, with the original author's name and date |++One Kaneo project is created per PLANKA **board**, because the board is what holds the lists and cards.++### What doesn't++- **Archive and trash lists.** Only active and closed lists are imported.+- **Attachments.** Counted in the report, but not transferred. Download anything you need from PLANKA before you switch it off.+- **Priorities.** PLANKA has none, so imported tasks have no priority.+- **Checklist items linked to cards on other boards.** Counted in the report, but not imported.+- **Labels that no card uses.**+- **Extra card members.** Kaneo has one assignee per task. Only the first member is kept, and the report says how many cards had more than one.+- **Custom fields, stopwatches, and card subscriptions.** Kaneo supports custom fields and time entries, but you need to recreate that information yourself.++### Troubleshooting++**PLANKA runs on the same server or network as Kaneo**: by default, Kaneo blocks private network addresses. The operator must set `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS=true` on the Kaneo API, and you must enter a URL the Kaneo server can reach, such as the PLANKA container's name on the shared Docker network. See [Self-hosted instances](/core/migrations#self-hosted-instances). If Kaneo can't reach PLANKA at all, for example on Kaneo Cloud, use the [CLI](#import-with-the-cli).++**"This PLANKA instance requires you to accept its terms"**: sign in through the PLANKA web UI once and accept them, then try again.++**Two-factor authentication, or an SSO-only account**: password login can't complete a two-factor challenge, and SSO accounts have no local password. Create a PLANKA API key for the account and use it instead.++**Tasks are unassigned**: connect with a PLANKA admin account so emails are visible, and check that the person is a member of the Kaneo workspace. Then delete the imported project and import it again, or assign the tasks by hand.++## Import with the CLI++`@kaneo/planka-import` runs on your own machine. It reads your boards from PLANKA's REST API and recreates them in Kaneo through Kaneo's public API. It does not modify PLANKA or use an intermediary service.++Use it if you prefer the terminal, want to script the migration, or your PLANKA is not reachable from the Kaneo server. It maps boards the same way as the in-app import, with the differences noted [below](#how-the-cli-differs).++### Requirements++- A PLANKA account that can see the boards you want to move. If you sign in through SSO and have no password, create a PLANKA API key and use `--planka-api-key`.- A Kaneo workspace, and an API key from **Settings → Account → API Keys**.- Node.js 20 or newer.-Use a PLANKA administrator account if you want to preserve assignees. PLANKA hides other users’ email addresses from non-administrators, which prevents email matching.--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.+As with the in-app import, use a PLANKA admin account to keep assignees, and invite your team to the Kaneo workspace first.-## Start with a dry run+### 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:+A dry run reads PLANKA only and writes nothing. It needs no Kaneo API key, so it's a safe first step:```bashnpx @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:+You'll be asked for your PLANKA login and which boards to migrate. The output tells you exactly what would be created:```Planned import:@@ -44,7 +96,7 @@ Planned import:- 3 attachment(s) will not be migrated```-## Run the import+### Run the importWhen the plan looks right, set `KANEO_API_KEY` in your environment and drop `--dry-run`. The CLI reads the key from that variable:@@ -55,8 +107,7 @@ npx @kaneo/planka-import \--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.+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:@@ -68,63 +119,23 @@ npx @kaneo/planka-import \--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 |-| Checklist items linked to another card | Task relations (subtask), not text |-| Labels | Labels, with their original colors |-| Card members | Assignee, matched by email |-| Due date | Due date |-| Comments | Comments, with the original author recorded separately and the original date added to the text |--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.** The comment is created by the API key's owner, but the- original PLANKA author is recorded on it and shown in Kaneo, the same way- imported GitHub comments are. This needs Kaneo 2.17.6 or newer; against older- instances the comment still imports, just without the original author.-- **Priorities.** The importer sets every task to- `no-priority`.-- **Custom fields, stopwatches, and card subscriptions.** The importer does not transfer these. Kaneo supports custom fields and time entries, but you need to recreate that information yourself.+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.-## Troubleshooting+### How the CLI differs-**"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.+- **Assignees.** The CLI matches card members by email only. Members whose email PLANKA hides are imported unassigned.+- **Comment authorship.** The comment is created by the API key's owner, but the original PLANKA author is recorded on it and shown in Kaneo, the same way imported GitHub comments are. The original date is added to the comment text. This needs Kaneo 2.17.6 or newer; against older instances the comment still imports, just without the original author.+- **Reports.** `--dry-run` shows the plan without writing anything, and `--report` writes a JSON report of the run.-**Two-factor authentication, or an SSO-only account**: password login either-can't complete a TOTP challenge, or there is no local password at all. Create a-PLANKA API key for the account and pass `--planka-api-key` instead. This is the-recommended credential: it doesn't expire the way a copied session token does.+### CLI troubleshooting-**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 run the importer interactively again, selecting only the failed board. The `--project` flag filters PLANKA projects, which can contain several boards.+The in-app [troubleshooting](#troubleshooting) for terms, two-factor authentication, and SSO applies here too. With the CLI, pass the API key with `--planka-api-key`. It doesn't expire the way a copied session token does.-## Re-running+**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 run the importer interactively again, selecting only the failed board. The `--project` flag filters PLANKA projects, which can contain several boards.-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.+**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+### Options| Flag | Description || --- | --- |diff --git a/apps/docs/core/migrations/from-trello.mdx b/apps/docs/core/migrations/from-trello.mdxnew file mode 100644index 000000000..9e8e34c0d--- /dev/null+++ b/apps/docs/core/migrations/from-trello.mdx@@ -0,0 +1,74 @@+---+title: Import from Trello+description: Move Trello boards into Kaneo, including lists, cards, checklists, dates, labels, members, comments, and archived cards.+---++Each Trello board becomes a Kaneo project. Read [Import from other tools](/core/migrations) first for the rules that apply to every import.++## Before you start++You need:++- To be an admin of the Kaneo workspace you are importing into.+- A Trello account that can see the boards you want to move.++Trello never shares other people's email addresses, so Kaneo matches card members by full name instead, ignoring case. A card is assigned only when exactly one workspace member has the same full name as the Trello member. Invite your team first and make sure their names in Kaneo match their names in Trello.++## Connect++1. In Kaneo, open **Settings → Workspace → Import** and choose **Trello**.+2. Click **Authorize on Trello**. Trello opens in a new tab and asks for access.+3. Click **Allow**. Trello shows a token.+4. Copy the token and paste it into Kaneo.+5. Select the boards to import. Leave comments on, or turn them off.+6. Start the import. You can leave the page while it runs and check **Recent imports** later.++The token is read-only and expires after a day.++If the form asks for a Trello API key as well, your instance has no Trello app configured. Ask the operator to set it up (see below), or paste your own key: create a Power-Up at [trello.com/power-ups/admin](https://trello.com/power-ups/admin), open **Authorization**, then **Trello Auth**, and click **Generate a new API key**. Paste the key into the form before you click **Authorize on Trello**.++## What carries over++| Trello | Kaneo |+| --- | --- |+| Board | Project. Trello boards have no key, so Kaneo makes one from the board name |+| Open lists | Columns. If the last list is named like a done list (for example **Done**), it becomes the final column |+| Card | Task |+| Card number, shown in the card's link | Task number |+| Description | Task description |+| Checklists | Markdown checkboxes in the description |+| Start and due dates | Start and due dates |+| Labels | Labels, with Trello's colors |+| Members | Assignee: the first member, matched by full name |+| Comments | Comments, with the original author's name and date |+| Archived cards, and cards in archived lists | Archived tasks |++## What doesn't++- **Attachments.** Download anything you need from Trello before you stop using it.+- **Custom fields.**+- **Power-Up data.**+- **Stickers.**+- **Priorities.** Trello has none, so imported tasks have no priority.+- **Extra members.** Kaneo has one assignee per task. Only the first member is kept, and the report says how many cards had more than one.++## Set up Trello on a self-hosted instance++The **Authorize on Trello** button needs a Trello API key on the Kaneo API. Without it, each user has to paste their own key in the form. To set it up once for everyone:++1. Sign in to Trello and open [trello.com/power-ups/admin](https://trello.com/power-ups/admin).+2. Create a new Power-Up for your Kaneo instance.+3. In the app's sidebar, under **Authorization**, open **Trello Auth** and click **Generate a new API key**. You don't need the **OAuth 2.0** tab, its scopes, or the client ID.+4. Set `TRELLO_API_KEY` to that key in the API environment, for example in your `.env`, then recreate the container.++Kaneo only sends the authorize link that contains this key to workspace admins who start a Trello import. The key identifies the app and grants no access by itself; each user approves access with their own token. Kaneo does not need the Power-Up's secret, so never set it. See [environment variables](/core/installation/environment-variables#imports).++## Troubleshooting++**The token is rejected**: tokens expire after a day. Click **Authorize on Trello** again and paste the new token.++**A board is missing from the list**: only open boards are listed. Reopen a closed board in Trello to import it.++**The form asks for a Trello API key**: `TRELLO_API_KEY` is not set on the API. Paste your own key, or ask the operator to set it. See [Set up Trello on a self-hosted instance](#set-up-trello-on-a-self-hosted-instance).++**Tasks are unassigned**: the member's full name in Trello must match exactly one member's name in the Kaneo workspace. Fix the name or invite the person, delete the imported project, and import it again. You can also assign the tasks by hand.diff --git a/apps/docs/core/migrations/index.mdx b/apps/docs/core/migrations/index.mdxnew file mode 100644index 000000000..fb4067cbf--- /dev/null+++ b/apps/docs/core/migrations/index.mdx@@ -0,0 +1,81 @@+---+title: Import from other tools+description: Bring projects from Linear, Trello, Plane, PLANKA, or another Kaneo instance into a Kaneo workspace.+---++Kaneo can copy projects from another tool into your workspace. You connect a source with a key, choose the projects you want, and Kaneo recreates them as new Kaneo projects. Kaneo only reads from the source; nothing there is changed.++## Sources++| Source | Each of these becomes a Kaneo project | Guide |+| --- | --- | --- |+| Linear | Team | [Import from Linear](/core/migrations/from-linear) |+| Trello | Board | [Import from Trello](/core/migrations/from-trello) |+| Plane (cloud or self-hosted) | Project | [Import from Plane](/core/migrations/from-plane) |+| PLANKA | Board | [Import from PLANKA](/core/migrations/from-planka) |+| Another Kaneo instance | Project | [Import from another Kaneo instance](/core/migrations/from-kaneo) |++## Start an import++Only workspace admins can import. Importing needs permission to manage workspace settings and to create projects, which owners and admins have by default.++<Steps>+ <Step title="Open the importer">+ Open **Settings → Workspace → Import**. You can also click **Import from another tool** on the projects page while the workspace has no projects, or **Import your projects** in the dialog for creating a new project.+ </Step>+ <Step title="Pick a source and connect">+ Choose where you are importing from and paste the key or token it needs. Each source guide explains where to find it.+ </Step>+ <Step title="Choose projects">+ Select the projects to import, up to 50 at a time. Comments are included by default; turn them off if you don't need them.+ </Step>+ <Step title="Watch the progress">+ The import runs on the server, so you can leave the page and come back. A workspace runs one import at a time. **Recent imports** lists past runs with a report for each project (counts and warnings) and a link to the new project.+ </Step>+</Steps>++## How imports work++These rules apply to every source.++### Each import creates new projects++Every selected source project becomes a new Kaneo project. Kaneo never updates or merges into an existing project, so running the same import twice gives you two copies.++If a project fails to import, nothing of it is left behind. If an import finishes but the result is not what you want, delete the project and import it again.++### Project keys and task numbers++The new project keeps the source's project key, for example `WEB` from Plane or `ENG` from Linear, when no other project in the workspace uses it. If the key is taken, Kaneo adds a suffix, for example `WEB-2`.++Tasks keep their numbers from the source, so `WEB-12` stays `WEB-12`. A task without a number in the source, or with a number another task in the same import already has, gets the next number after the highest one. Tasks you create later continue from there.++Trello boards have no key, so Kaneo makes one from the board name. PLANKA boards have no key or task numbers either, so Kaneo makes a key from the new project's name and numbers the tasks from 1 in board order.++### Invite your team first++Assignees are matched to workspace members by email. Anyone who isn't a member when you import gets their tasks imported unassigned. [Invite your team](/core/functional/collaborate-with-team) before you start.++Some sources hide email addresses. Trello never shares other people's emails, and PLANKA hides them from accounts that are not admins. In those cases Kaneo matches by full name, ignoring case, and only when exactly one workspace member has that name.++Kaneo has one assignee per task. When an item has several assignees, only the first is kept, and the report says how many items had more than one.++### Comments and notifications++Imported comments keep the original author's name and date, and are marked **Imported from** followed by the source name, for example **Imported from Linear**.++Imported tasks do not send notifications.++### Your key is not stored++The key or token you paste is used for that one import and is not stored. Kaneo only reads from the source. To import again later, paste the key again. You can revoke it in the source once the import is done.++## Self-hosted instances++The import runs on the Kaneo API server, not in your browser. The server must be able to reach the source.++By default, Kaneo blocks imports from addresses on a private network, for example a PLANKA container in the same Docker network or a Plane server on your LAN. To allow them, set `KANEO_ALLOW_PRIVATE_WEBHOOK_DESTINATIONS=true` on the API. This is the same switch that notification destinations (such as ntfy, Gotify, and webhooks) and the Gitea and GitLab integrations use, so only enable it on a trusted deployment. See [environment variables](/core/installation/environment-variables#imports).++The one-click **Authorize on Trello** button needs `TRELLO_API_KEY` on the API. See [Set up Trello on a self-hosted instance](/core/migrations/from-trello#set-up-trello-on-a-self-hosted-instance).++If your source is on a private network and your Kaneo instance can't reach it (for example, you use Kaneo Cloud), the in-app importer can't connect. For PLANKA, use the [command line importer](/core/migrations/from-planka#import-with-the-cli), which runs on your own machine.diff --git a/apps/docs/docs.json b/apps/docs/docs.jsonindex 720c156b6..cb15a629f 100644--- a/apps/docs/docs.json+++ b/apps/docs/docs.json@@ -124,7 +124,12 @@{"group": "Move to Kaneo","pages": [+ "core/migrations/index",+ "core/migrations/from-linear",+ "core/migrations/from-trello",+ "core/migrations/from-plane","core/migrations/from-planka",+ "core/migrations/from-kaneo","core/installation/migration","core/installation/drim-migration"]