User story mapping for Azure DevOps

On this page

Bring an Azure DevOps backlog in, lay it out as a journey, then send the plan back. Epics, work items, states, estimates and tags all come with it, and every card links back to its work item.

The Azure DevOps options in the Import menu. The Azure DevOps options in the Import menu.12
The Azure DevOps options in the Import menu.
  1. 1Azure DevOps API fetches the work items of a project straight from Azure DevOps.
  2. 2Azure DevOps CSV reads a CSV file exported from a query.

Import through the API

  1. 1Choose Menu → Import → Azure → Azure DevOps API, or click Azure DevOps on the home page.
  2. 2Fill in the Organization, the name after dev.azure.com/ in the address, and the Project. Paste the link to the project instead and both fill in.
  3. 3Paste a Personal access token with the scope Work Items: Read. The Get token link opens the Microsoft page that shows how to make one.
  4. 4Click Fetch from Azure DevOps. Verify Connection checks the details first, if you want to.
The Azure DevOps API window, filled in. The Azure DevOps API window, filled in.
The Azure DevOps API window, filled in.

The API brings in the epics of the project, then every other work item, such as features, user stories, issues and bugs. One import takes up to 10,000. Two kinds are left out:

  • Work items that have been removed.
  • A task that sits under a story, issue, bug or other backlog item. It is part of that item, so the item comes in without it. A task with no parent, or one straight under an epic or feature, comes in.

Note. Your credentials aren't stored or logged. They go straight to Azure DevOps. Your browser remembers the organization and project for next time, but never the token.

Import a CSV file

  1. 1In Azure DevOps, open Boards, then Queries, run a query and choose Export to CSV. Add Description, Tags and Parent to its columns to bring them in too.
  2. 2In the story map, choose Menu → Import → Azure → Azure DevOps CSV.
  3. 3Drop the file in, or click to pick it.
  4. 4Add the organization and project if you want each card to link back to its work item.
  5. 5Click Continue.
The Azure DevOps CSV window. The Azure DevOps CSV window.
The Azure DevOps CSV window.

The file needs the ID, Work Item Type and Title columns. A State column sets the status of each card, and a Story Points, Effort or Size column sets its points. A tree query, with Title 1, Title 2 and so on, keeps each work item under its parent.

Review the import

Review Import lists every card that will be made: each epic, then its work items, and last the work items with no epic.

The review list, the same for the API and a CSV file: each epic, then its work items, with the tag they share. The review list, the same for the API and a CSV file: each epic, then its work items, with the tag they share.
The review list, the same for the API and a CSV file: each epic, then its work items, with the tag they share.
  • Untick any row to leave it out. Untick an epic and its work items go with it.
  • Work item type ticks or unticks every work item of one type. Untick Epic to bring in the work items without the epic cards.
  • Status ticks or unticks every work item in that state. The states carry the names the project gives them, such as To Do, Doing and Done, or New, Active and Closed.
  • 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.

  • Epics become lime green cards, tagged epic-01, epic-02 and so on. Each one carries the description, status and link of the epic, so you don't need Azure DevOps open while you arrange the story map. Delete the ones you don't need.
  • Work items under an epic become cards tagged to match it, plus their Azure DevOps tags. A work item belongs to the epic above it, however many features or stories sit in between. Work items with no epic get no epic tag.
  • Descriptions go in the body of the card, as plain text.
  • States become done, in progress or planned.
  • Story Points, Effort or Size, whichever the process of the project uses, become the points on the card.
  • Links open the work item in Azure DevOps.

The legend names the two colours, Epic and Work item.

On a new story map, the cards fill up to eight columns from left to right, each epic followed by its work items. The tags keep them together: search and filter by epic-01 to see one epic 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 Azure DevOps

Every card becomes one work item. No epics are made: the story map keeps the structure, and each work item carries its slice and step as tags.

The Azure DevOps options in the Export menu. The Azure DevOps options in the Export menu.12
The Azure DevOps options in the Export menu.
  1. 1Azure DevOps API creates the work items in Azure DevOps for you.
  2. 2Azure DevOps CSV downloads a file for you to import in Azure DevOps.

Choose Menu → Export → Azure, then one of them. Both start the same way:

  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 work item it turns into.
  6. 6Under Tags, untick any you don't want: Slice name, Step name or Card tags.
This part is the same whichever way you export: one card and the work item it becomes in Azure DevOps. This part is the same whichever way you export: one card and the work item it becomes in Azure DevOps.
This part is the same whichever way you export: one card and the work item it becomes in Azure DevOps.

Tags are lower case with hyphens, so a card under Browse Menu in the MVP slice is tagged browse-menu and mvp. The description of each work item is the card body, then the slice, the step and a link back to the card.

Azure DevOps API

  1. 1Click Connect to Azure DevOps.
  2. 2Fill in the Organization and Project, and paste a Personal access token with the scope Work Items: Read & write.
  3. 3Click Export to Azure DevOps.
The Azure DevOps API window after you click Connect to Azure DevOps. The Azure DevOps API window after you click Connect to Azure DevOps.
The Azure DevOps API window after you click Connect to Azure DevOps.

The progress list links to every work item as it's made, and Done closes the window when the last one is in.

  • Type. The project says which work item type its backlog uses, and the cards become that: User Story, Product Backlog Item, Issue or Requirement.
  • State. Cards in progress move to the first state of the project that counts as in progress, and done cards to the first that counts as completed. The rest stay where new work starts.
  • Points. Card points become Story Points, Effort or Size, whichever the process uses.
  • Tags. If your account can't make new tags in the project, the work items are made without them, and the list says so.

One export takes up to 2,000 cards. The work items go to the project itself, so they show on the board of the default team.

Note. Done work doesn't show on a backlog in Azure DevOps. Cards exported as done are on the board and under Work items.

Azure DevOps CSV

  1. 1Set Process to the process of the project: Agile, Scrum, Basic or CMMI. It decides the work item type.
  2. 2Click Download CSV.
  3. 3In Azure DevOps, open Boards, then Queries, and click Import work items. Choose the file, then click Save items. The (How to import) link opens the Microsoft guide.
The Azure DevOps CSV window, with the process at the top and Download CSV at the bottom. The Azure DevOps CSV window, with the process at the top and Download CSV at the bottom.
The Azure DevOps CSV window, with the process at the top and Download CSV at the bottom.

The file holds the type, title, description and tags of each card. Azure DevOps starts every work item it imports from a file in its first state, and takes up to 1,000 from one file. Points aren't in the file.