一键导入
linear-import
Import issues from CSV or JSON files. Use when bulk-creating issues from external data.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Import issues from CSV or JSON files. Use when bulk-creating issues from external data.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands.
Manage issue attachments - link URLs, create, update, delete. Use when attaching files or links to issues.
Manage issue comments - list, create, update, delete. Use when reading or posting comments on issues.
Configure linear-cli - auth (API key + OAuth), workspaces, diagnostics, setup wizard.
Manage Linear sprint cycles - list, create, update, delete, complete. Use when managing cycles.
Mark the current branch's issue as Done. Use as a quick shortcut to close the issue you're working on.
| name | linear-import |
| description | Import issues from CSV or JSON files. Use when bulk-creating issues from external data. |
| allowed-tools | Bash |
# Import from CSV
linear-cli im csv issues.csv -t ENG
# Preview without creating (dry run)
linear-cli im csv issues.csv -t ENG --dry-run
# Import from JSON
linear-cli im json issues.json -t ENG
# JSON round-trip (export then re-import)
linear-cli exp json -t ENG -f backup.json
linear-cli im json backup.json -t ENG
CSV files need a header row. Supported columns: title, description, priority, status, assignee, labels, estimate, dueDate.
Status, assignee, and labels are resolved by name automatically.
JSON files should be an array of issue objects matching the export format.
| Flag | Purpose |
|---|---|
-t TEAM | Target team (required) |
--dry-run | Preview without creating |
--output json | JSON output |
0=Success, 1=Error, 2=Not found, 3=Auth error