Allow to import tickets from ClickUp#1046
Open
vassalloandrea wants to merge 1 commit intolinear:masterfrom
Open
Allow to import tickets from ClickUp#1046vassalloandrea wants to merge 1 commit intolinear:masterfrom
vassalloandrea wants to merge 1 commit intolinear:masterfrom
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new ClickUp (CSV export) option to the
linear-importCLI, allowing users to import issues from a ClickUp CSV export into Linear. The importer handles the specific quirks of the ClickUp export format (leading-space column names, bracket-wrapped arrays, millisecond-epoch timestamps, numeric priorities) and gives users control over how labels and statuses are imported.Changes
New/rewritten files:
ClickupCsvImporter, it handles:1–4/null) → Linear'sIssuePriority(0–4)createdAt,dueDate,startedAtCommentscolumnModified files:
packages/import/src/cli.ts— Registered"ClickUp (CSV export)"in the service selection menu and switch statementImport options
List: <name>,Space: <name>labels are created in Linearin development,qa,scoping) are created as new workflow statesBacklog,Todo,In Progress,Done,CanceledExample CLI output
Input your Linear API key (
https://linear.app/settings/account/security
): lin_api_•••
Which service would you like to import from? → ClickUp (CSV export)
Select your exported CSV file of ClickUp issues: clickup-export-osi-all.csv
Do you want to create missing labels from ClickUp tags, lists, and spaces? → Yes
Do you want to import ClickUp statuses as-is? → No
Do you want to create a new team for imported issues? → No
Import into team: [ENG] Engineering
Do you want to include comments in the issue description? → Yes
Do you want to assign these issues to yourself? → No
Assign to user: [Provided assignee]
████████████████████████████████████████ 100% | 682/682
✅ ClickUp (CSV) issues imported to your team:
https://linear.app/team/ENG/all
Status mapping reference
backlog,scopingBacklogto do,open,OpenTodoin progress,in development,in design,in review,testing,qa,validation,blockedIn Progressdone,shipped,ClosedDonecancelledCanceledExample of successful import: