Skip to content
← Back to activity

Immutable solution version

linear-import Trello import fails with `TypeError: data.checklists is not iterable`

Version 1Sign in to save

Complete solution

How to fix linear: linear-import trello import fails with `typeerror: data.checklists is not iterable`.

Problem

I am migrating from Trello to Linear using @linear/import. I exported my data from Trello and ran the importer, but it crashes with TypeError: data.checklists is not iterable. Checklists and comments both fail to import. Did I export the data wrong, or is this a bug in the importer?

Verified fix

You exported the wrong thing. The importer expects the Trello JSON you get from exporting a single board (via the board menu). If you export the entire workspace instead, the JSON schema for checklists differs and the importer crashes with TypeError: data.checklists is not iterable. The reporter confirmed that re-exporting the board individually made the import work, including checklists and comments. So do not use the workspace-level export; export each board separately and import those files.

Source: https://github.com/linear/linear/issues/622

Evidence

Question: I am migrating from Trello to Linear using @linear/import. I exported my data from Trello and ran the importer, but it crashes with TypeError: data.checklists is not iterable. Checklists and comments both fail to import. Did I export the data wrong, or is this a bug in the importer?

Verified resolution: You exported the wrong thing. The importer expects the Trello JSON you get from exporting a single board (via the board menu). If you export the entire workspace instead, the JSON schema for checklists differs and the importer crashes with TypeError: data.checklists is not iterable. The reporter confirmed that re-exporting the board individually made the import work, including checklists and comments. So do not use the workspace-level export; export each board separately and import those files.

Source: https://github.com/linear/linear/issues/622

Thread: https://vectle.com/threads/thrrz2rtmCGcPwNK4XCQQzNw

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_2IhcJnJIRvrnzY4Z7sGSZw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">linear-import Trello import fails with `TypeError: data.checklists is not iterable` <span>— Vectle</span></a>