Moving to Linear
Write an archive's tasks or issues as a CSV in the shape Linear's importer reads, plus an ID mapping file that links each one back to the archive.
Linear has no ClickUp importer. Linear’s own command-line importer does accept a “Linear CSV”, the same shape Linear’s own export produces. Cartulary’s Linear CSV writes an archive’s tasks (ClickUp) or issues (Jira) in exactly that shape, so you can bring live work across while the archive stays the full record.
Cartulary never talks to Linear. It reads the archive and writes two files; you run the import.
The Linear CSV is included in every plan: Solo, Team and Compliance.
What it works from
The Linear CSV reads a local archive. It never connects to the live platform. It works from either kind of archive Cartulary makes:
- a ClickUp Workspace archive, where each row is a task
- a Jira Cloud site archive, where each row is an issue
Point it at a cartulary to use its latest version, or at a single archive directory. Export first if you haven’t (see Getting started), so the CSV reflects the current state of the source.
Create the CSV
In the app, open CLI from the sidebar and choose the Linear CSV command. The form has these fields:
| Field | What to enter |
|---|---|
| <archiveRoot> | Required. The path to the cartulary (its latest version is used) or to a single archive folder. By default each connection’s archive is a subfolder of the archive folder inside your Cartulary folder (Settings → Output changes this). File → Show in Finder: Cartulary Folder (on Windows, Show in File Explorer) opens the Cartulary folder. |
| –out | Required. Where to write the CSV, for example a file in a new folder in Documents. It must be outside the archive: Cartulary refuses a path inside it, because a new file there would fail the archive’s next verification. |
| –in | Optional. Only tasks in these Lists (ClickUp) or issues in these projects (Jira), as comma-separated IDs. Leave it empty for everything. |
| –include-archived | Optional. Also include tasks or issues that were archived at the source. Off by default. |
Then choose Run Linear CSV. See the CLI view reference for how the view works.
When it finishes, the run’s log says how many rows it wrote, how many it left out and why, and where the ID mapping file is.
What’s in the CSV
The file has every column Linear’s CSV uses, in Linear’s order. Columns Cartulary has nothing for are present and left empty, so the file has the same shape as one Linear exported.
| Linear column | Filled from |
|---|---|
| Title | The task or issue name |
| Description | The task’s Markdown description, followed by a footer (see below) |
| Status | The status name, as the source recorded it |
| Priority | The mapped priority (see below) |
| Creator | The creator’s name |
| Assignee | The first assignee’s name |
| Labels | The task’s tags or the issue’s labels, comma-separated |
| Created | When it was created |
| Updated | When it was last updated |
| Completed | When it was closed |
| Id, Team, Estimate, Project, Cycle Number, Cycle Name, Cycle Start, Cycle End, Started, Canceled, Archived | Left empty |
A few details matter when you import:
- Status. Linear matches Status to a workflow state by name. If your Linear team’s states are named differently from your ClickUp or Jira statuses, rename them in Linear first.
- Priority. Linear has four priorities. Urgent and Jira’s Highest become Urgent; High becomes High; Normal and Medium become Medium; Low and Jira’s Lowest become Low. A task with no priority, or one outside these names, becomes No priority.
- Assignee. Linear allows one assignee and matches by full name. Cartulary uses the first assignee’s name as the source recorded it. Any other assignees are listed in the description footer.
- Labels. Linear splits labels on a comma followed by a space, so a tag that contains “, “ is written with the comma removed, to keep it one label.
- Order. Rows are sorted oldest first, so Linear numbers the imported issues in the order they were created. Items with no creation date come last.
The description footer
Linear keeps no link to the system an issue came from, so each description ends with a short footer after a horizontal rule:
- the platform and the original ID, with the issue key (Jira) or the custom task ID (ClickUp, when there is one)
- the original URL, when the archive has one
- for a subtask, the name and ID of its parent
- any assignees after the first
The footer is how someone in Linear finds the original later, and it carries what Linear’s CSV has no column for.
What’s left out of the rows
- Archived tasks and issues, unless you tick –include-archived. Even then, the Archived column stays empty, because a value there makes Linear’s importer skip the row.
- Deleted items, gone from the source since an earlier version but kept in the archive. They are never included: they are not work to bring across.
- Items that moved out of the export’s scope. The archive keeps their last copy, but they are left out of the CSV.
The ID mapping file
Beside the CSV, in the same folder, Cartulary writes an ID mapping file named for the platform:
clickup_to_linear.jsonfor a ClickUp archivejira_to_linear.jsonfor a Jira archive
It is a JSON object with one entry per exported row. Each key is the source task or issue ID; each value starts empty:
{
"86b1abcde": "",
"86b1abcdf": ""
}
After the import, fill in the Linear issue ID for each one. That gives you a permanent link from every Linear issue back to its record in the archive.
Running Linear CSV again into the same folder adds any new IDs and keeps every value you have already filled in. If the file exists but isn’t valid JSON, Cartulary stops and leaves it untouched, since it may hold IDs you entered by hand. Fix or move the file and run it again.
Import into Linear
At a high level:
- Make sure you have the access Linear requires to import. The operator notes for this feature say only a Linear workspace admin can.
- In Linear, rename workflow states if needed so they match the Status values in the CSV.
- Run Linear’s command-line importer (
npx @linear/import), choose Linear as the CSV type, and point it at the file Cartulary wrote. - After the import, record each new Linear issue ID in the mapping file.
For the importer’s own prompts and options, follow Linear’s documentation.
What does not carry over
Linear’s CSV format has no place for the following, so they are not in the file:
- Comments.
- Attachments, including files added in comments.
- Custom fields and everything else outside the columns above: time entries, estimates and story points, watchers, history, links between tasks, checklists, sprints and cycles.
- Parent and subtask structure. Linear’s CSV has no parent column, so subtasks import as ordinary issues. The footer names each one’s parent.
- Additional assignees, other than as text in the footer.
All of it stays in the archive.
The archive remains the record
The Linear CSV only reads the archive. It writes nothing inside it, so the archive’s seal and verification are unaffected, and you can run it as many times as you like.
Treat Linear as where the work continues and the archive as the complete, verifiable record of what was there before. The footer and the mapping file connect the two: from any Linear issue you can find the original task or issue, its comments, attachments and history in the archive. See Archive format for how an archive is laid out and Verification for checking it is intact.