Phabricator/Trello to Phabricator

Notes on conversion
General discussion in https://secure.phabricator.com/T3179

You can do it manually from Trello board menu, or 500-line Python script at P1407, export-trello.py
 * Export board from Trello

Both produce JSON


 * Import to Phabricator
 * choice A) Use PHP
 * The same cburroughs did:
 * P1403 to import-attachments.php
 * P1404 import-users.php (not relevant, we just need a mapping, but won't hurt if users have same e-mail in Phabricator as they did in Trello?)
 * P1405 to import-tickets.php (nothing specifically for Trello...)


 * Choice B) curl requests
 * basic createtask at https://phab-01.wmflabs.org/conduit/method/maniphest.createtask/
 * problem is the creator will be the person doing the import.


 * Choice C) bugzilla code
 * https://github.com/wikimedia/phabricator-tools/blob/master/README

What projects?
Assign to Flow and to Core-features team?

Conduit
To get PHIDs for Conduit

On phab-01.wmflabs.org
https://phab-01.wmflabs.org/api/maniphest.createtask, just fill it out to create tasks. e.g. phab-01, Flow (test) is PHID-PROJ-ofxg2d73cpefxqnworfs

All fields are JSON, thus in double quotes and if field is plural, inside [ ] array.
 * copy-paste title of card into title inside ""
 * edit description, copy paste markup, paste into dscription inside ""
 * projectPHIds is ["PHID-PROJ-ID"], more if you want in multiple projects.


 * not sure about ownerPHID, editPolicy, etc.

Creates https://phab-01.wmflabs.org/T115 from https://trello.com/c/8v75OXK3

Hmmm.

No idea how to assign column in workboard in this. https://phabricator.wikimedia.org/project/board/401/