npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@linear/import

v2.1.1

Published

Import helpers for uploading issues to Linear

Downloads

543

Readme

Note Linear now has a migration assistant for importing from Asana, Jira, Shortcut, and GitHub without using the CLI.

Please see the documentation for more information. If you would like to import data from other services not listed above this CLI may still be useful.

linear-import

Install the CLI:

yarn global add @linear/import

or

npm i --location=global @linear/import

Run interactive importer:

linear-import

Importers

It's recommended to only import open issues to keep your Linear account more manageable. Note that creation and modification dates on issues will not carry over.

GitHub

Open GitHub issues can be imported with your personal access token from GitHub's API.

Supported fields:

  • Title
  • Description
  • Labels
  • (Optional) Comments

Jira CSV

This method is deprecated. We recommend importing Jira projects through the in-product importer instead of the CLI, which also offers a CSV import option but imports more fields. If you proceed, the following fields are supported:

  • Summary - Issue title
  • Description - Converted into markdown and used as issue description
  • URL - URL of Jira issue
  • Priority - Issue priority
  • Issue key - Used to build backlink to original Jira issue
  • Issue Type - Added as a label
  • (Optional) Release - Added as a label

Asana CSV

Asana projects can be imported into a Linear team from the CSV export file.

Following fields are supported:

  • Name - Issue title
  • Notes - Converted into markdown and used as issue description
  • Priority - Issue priority
  • Tags - Added as a label
  • Assignee - Issue assignee

Pivotal Tracker CSV

Pivotal Tracker projects can be imported into a Linear team from the CSV export file. It only imports chores, features, and bugs.

Following fields are supported:

  • Title - Issue title
  • Description - Converted into markdown and used as issue description
  • Labels - Added as a label
  • Owned By - Story owner
  • URL - URL of Pivotal Tracker story
  • Created at - Preserves the story creation date

Shortcut CSV

Shortcut workspaces can be imported into a Linear team from the CSV export file. It only imports chores, features, and bugs.

Following fields are supported:

  • Name - Issue title
  • Description - Shortcut markdown formatted description
  • Tasks - Appended to the description
  • External Tickets - Appended to the description
  • State - Mapped to the most similar Linear status
  • Type - Added as a label
  • Tags - Added as labels
  • Owners - Story owner (only the first is preserved)
  • URL - URL of Shortcut story, also appended to the description
  • Created at - Preserves the story creation date

Trello JSON

Trello board can be imported into a Linear team from the JSON export file, which can be obtained by going into Board → Show Menu → More → Print and Export → Export as JSON.

Following fields are supported:

  • Name - Issue title
  • Description - Trello markdown formatted description
  • URL - URL of Trello card
  • Labels - Added as a label
  • Attachments - Added as links in the description
  • (Optional) Comments - Added in the description

Linear CSV

Linear CSV exports (Settings → Import / Export → Export CSV) can be imported into Linear again. You can use this to import issues from one workspace to another. Archived issues won't be imported.

Following fields are supported:

  • Title - Issue title
  • Description - Issue description
  • Priority - Issue priority
  • Status - Issue state (workflow)
  • Assignee - Issue assignee (user's full name)
  • Labels - Added as a label

Todo

  • [x] Automatic image uploads
  • [ ] Assignees (pick from a list)
  • [ ] Created at (requires API change)

License

Licensed under the MIT License.