User story mapping for Linear

On this page

Bring a Linear backlog in, lay it out as a journey, then send the plan back. Projects, parent issues, statuses, estimates and labels all come with it.

The Linear options in the Import menu. The Linear options in the Import menu.12
The Linear options in the Import menu.
  1. 1Linear API fetches the issues of a team straight from Linear.
  2. 2Linear CSV reads a CSV file exported from Linear.

Import through the API

  1. 1Choose Menu → Import → Linear → Linear API, or click Linear on the home page.
  2. 2Paste an API Key. The Create key link opens the page in Linear where you make one.
  3. 3Fill in the Team Key, the letters before the number in an issue ID: JAC from JAC-5.
  4. 4Click Fetch from Linear. Verify Connection checks the details first, if you want to.
The Linear API window, filled in. The Linear API window, filled in.
The Linear API window, filled in.

Note. Your credentials aren't stored or logged. They go straight to Linear. Your browser remembers the team key for next time, but never the API key.

Import a CSV file

  1. 1In Linear, export your issues as CSV. The import dialog shows the way: Settings > Export > Export CSV.
  2. 2In the story map, choose Menu → Import → Linear → Linear CSV.
  3. 3Drop the file in, or click to pick it.
  4. 4Click Continue.
The Linear CSV window. The Linear CSV window.
The Linear CSV window.

The file needs a Title column. Issues from a CSV don't link back to Linear.

Review the import

Review Import lists every card that will be made: each group, then its issues, and last the issues that belong to no group.

The review list, the same for the API and a CSV file. Here it is grouped by project. The review list, the same for the API and a CSV file. Here it is grouped by project.
The review list, the same for the API and a CSV file. Here it is grouped by project.

Tag by picks how the issues group:

  • Group by projects makes each project a group, with its issues under it. Parent issues aren't imported.
  • Group by parent issues makes each parent issue a group, with its sub-issues under it.

It starts on projects when there are two or more, and on parent issues otherwise.

Untick any row to leave it out. Untick a group and its issues go with it. Status ticks or unticks every issue with that status, and the box at the top of the list ticks or unticks everything. The count at the bottom shows what's going in.

Importing into a story map you've worked on asks Where should the cards go?

  • Add to this story map puts the imported cards in a slice called Imported, under the steps you already have. If no step has a name yet, they go beside what's there.
  • Replace this story map swaps the whole story map for the import, and asks first.

Either way, a backup is taken before anything changes. The button at the bottom names the one you chose: click Add to story map or Replace story map to finish.

A new story map that nobody has worked on isn't asked. The import fills it, and the button reads Import to Map.

What you get on the story map

The cards land in a slice called Imported, under a blank backbone. A new story map also gets an empty slice above it, with no name, for your first release.

  • Groups become lime green cards. A parent issue is tagged with its own ID, such as ENG-12, and a project is tagged project-01, project-02 and so on. Each one carries the details of the group, so you don't need Linear open while you arrange the story map. Delete the ones you don't need.
  • Issues under a group become cards tagged to match it, plus their Linear labels. Issues in no group get no tag.
  • Descriptions go in the body of the card.
  • Statuses become done, in progress or planned.
  • Estimates become the points on the card.
  • Links open the issue or project in Linear.

The legend names the two colours, such as Project and Issue.

The cards fill up to eight columns from left to right, each group followed by its issues. The tags keep them together: search and filter by project-01 to see one group at a time.

Build the backbone first

When the import finishes, a short guide lights one thing at a time:

  1. 1Name the user: who the product is for.
  2. 2Name the activity: what they are trying to do.
  3. 3Name the steps they take, from left to right. Enter moves to the next step, and adds another after the last. Press Enter on an empty step when the journey is done.
  4. 4Drag each card up out of Imported into a slice, under the step it belongs to. Select several cards to move them together.
The guide starts with who the product is for. Everything else is dimmed. The guide starts with who the product is for. Everything else is dimmed.
The guide starts with who the product is for. Everything else is dimmed.

The backbone ends up with exactly the steps you named. Steps left blank are taken away, and the imported cards are dealt again under the ones that are left.

The zoom buttons work while the guide is open. Skip the guide closes it, and a part of the backbone that already has a name is left out. Delete the Imported slice when it's empty. Define the story map backbone has more.

The backbone is named, and the imported cards sit underneath it. The backbone is named, and the imported cards sit underneath it.
The backbone is named, and the imported cards sit underneath it.

Export to Linear

Every card becomes one issue. No parent issues are made: the story map keeps the structure, and each issue carries its slice and step as labels.

The Linear option in the Export menu. The Linear option in the Export menu.1
The Linear option in the Export menu.
  1. 1Linear API creates the issues in Linear for you. Linear has no file export from here.

Choose Menu → Export → Linear → Linear API:

  1. 1Under Releases, tick the slices to send.
  2. 2Under Status, tick the statuses to send.
  3. 3Leave Export task cards only ticked to send the yellow task cards and any card with a status. Untick it to send cards of every colour, such as notes and questions.
  4. 4Open Choose cards to untick single cards.
  5. 5Check What each card becomes. It shows one card and the issue it turns into.
  6. 6Under Labels, untick any you don't want: Slice name, Step name or Card tags.
  7. 7Click Connect to Linear.
  8. 8Paste an API Key and fill in the Team Key.
  9. 9Click Export to Linear.
The Linear export window shows one card and the issue it becomes. The Linear export window shows one card and the issue it becomes.
The Linear export window shows one card and the issue it becomes.
The window after you click Connect to Linear. The window after you click Connect to Linear.
The window after you click Connect to Linear.

Labels are lower case with hyphens, so a card under Browse Menu in the MVP slice is labelled browse-menu and mvp. The export uses labels the team already has and makes the missing ones in the team.

The description of each issue is the card body, then the slice, the step and a link back to the card. Card points become the estimate. Planned cards go to the first unstarted status of the team, cards in progress to the first started one, and done cards to the first completed one. The rest start where Linear puts new issues.

The progress list links to every issue as it's made. One export takes up to 2,000 cards.