User story mapping for Phabricator
On this page
Bring Phabricator tasks in, lay them out as a journey, then send the plan back. Parent tasks, subtasks, statuses and points all come with them, and every card links back to its task.
Phorge is the maintained fork of Phabricator, with the same Conduit API and Maniphest CSV export. Everything here works the same on both, so this guide says Phabricator for either.
12
- 1Phabricator API fetches the tasks straight from Phabricator.
- 2Phabricator CSV reads a CSV file exported from Maniphest.
Import through the API
- 1Choose Menu → Import → Phab → Phabricator API, or click Phabricator on the home page.
- 2Fill in the Instance URL of your Phabricator or Phorge site, such as phabricator.example.com.
- 3Paste an API Token. How do I get this? shows where: click your profile picture, go to Settings, then Conduit API Tokens, then Generate Token.
- 4Add the Project Tags to import. Use the slug from the /tag/ URL of the project, or type the name with spaces, separated by commas.
- 5Click Fetch from Phabricator. Verify Connection checks the details first, if you want to.
A task with subtasks becomes a group, with its subtasks under it. Subtasks nested further down come in under the top-level task. Tasks with no parent and no subtasks come last.
Note. Your API token isn't stored or logged. It goes straight to Phabricator. Your browser remembers the site and tags for next time, but never the API token.
Import a CSV file
- 1In Phabricator, export the tasks as CSV. The import dialog shows the way: Maniphest > select tasks > Export as CSV.
- 2In the story map, choose Menu → Import → Phab → Phabricator CSV.
- 3Drop the file in, or click to pick it.
- 4Click Continue.
The file needs a Title column. A CSV doesn't say which task is the parent of which, so every task comes in on its own.
Review the import
Review Import lists every card that will be made: each parent task, then its subtasks, and last the tasks with no parent.
Untick any row to leave it out. Untick a parent task and its subtasks go with it. The box at the top of the list ticks or unticks everything.
Status, above the list, ticks or unticks every task with that status: Planned, In Progress and Done. Done tasks are left out to start with. Tick Done to bring them in.
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.
- Parent tasks become lime green cards, tagged with their own ID, such as T123. Delete the ones you don't need.
- Subtasks become cards tagged with the ID of their parent. Tasks with no parent get no tag.
- Descriptions go in the body of the card.
- Statuses become planned for open and stalled tasks, in progress for tasks in progress, and done for the rest, such as resolved, declined and invalid.
- Points become the points on the card. From a CSV, Final Story Points win over Points.
- Links open the task in Phabricator.
When there are parent tasks, the legend names the two colours, Parent task and Task.
The cards fill up to eight columns from left to right, each parent task followed by its subtasks. The tags keep them together: search and filter by T123 to see one parent task at a time.
Build the backbone first
When the import finishes, a short guide lights one thing at a time:
- 1Name the user: who the product is for.
- 2Name the activity: what they are trying to do.
- 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.
- 4Drag each card up out of Imported into a slice, under the step it belongs to. Select several cards to move them together.
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.
Export to Phabricator
Every card becomes one task. No parent tasks or subtasks are made: the story map keeps the structure.
12
- 1Phabricator API creates the tasks in Phabricator for you.
- 2Phabricator Console API gives you code to run on your own Phabricator site, for one that Storymaps.io can't reach.
Choose Menu → Export → Phab, then one of them. Both start the same way:
- 1Under Releases, tick the slices to send.
- 2Under Status, tick the statuses to send.
- 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.
- 4Open Choose cards to untick single cards.
- 5Check What each card becomes. It shows one card and the task it turns into.
Phabricator tags are projects that must already exist, so the export makes none for the slice and the step. The description of each task says where the card sat instead: the card body, then the slice, the step, the card tags and a link back to the card.
Statuses carry over: no status and planned become open, in progress becomes progress, blocked becomes stalled, and done becomes resolved.
Phabricator API
- 1Click Connect to Phabricator.
- 2Fill in the Instance URL and API Token, and add Project Tags so the tasks land in the right projects. Every task gets them.
- 3Click Export to Phabricator.
The progress list links to every task as it's made. One export takes up to 2,000 cards.
Phabricator Console API
Use this when Storymaps.io can't reach your Phabricator site, such as one behind a VPN, or when you don't want your API token to leave your browser.
Instead of creating the tasks itself, the window gives you two pieces of code. You paste them into the browser console on your Phabricator site, and your own browser creates the tasks.
- 1Click Get the code.
- 2Fill in the Instance URL and API Token, and add Project Tags. The code in the window changes as you type.
- 3Open your Phabricator site in another tab, and open its browser console. The window shows the keys to press on your computer.
- 4Click Copy next to the first piece of code, paste it into the console and press Enter. This only gets the console ready. No tasks are made yet.
- 5Click Copy next to the second piece of code, paste it into the same console and press Enter. This one creates the tasks, and the console lists each one as it's made.