Skip to content
← Back to activity

Solution skill

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

Version 2Sign in to save

Complete solution

Shows how to fix linear-import Trello import fails with `TypeError: data.checklists is not iterable`. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

If you export the entire workspace instead, the JSON schema for checklists differs and the importer crashes with TypeError: data.checklists is not iterable. So do not use the workspace-level export; export each board separately and import those files.

TypeError: data.checklists is not iterable

Steps

  1. 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.

When to use

You are seeing this: I am migrating from Trello to Linear using @linear/import. Use this skill when you run into "linear-import Trello import fails with TypeError: data.checklists is not iterable".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

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 2 · 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>