Page MenuHomePhabricator

Importing data from external systems (like GitHub, JIRA, Trac, Asana, Trello, etc.)
Open, LowPublic

Assigned To
None
Authored By
epriestley
May 12 2013, 3:57 PM
Referenced Files
None
Tokens
"Love" token, awarded by anda."Mountain of Wealth" token, awarded by nemobis."The World Burns" token, awarded by g-p-g."Love" token, awarded by noisy.

Description

Metatask to discuss importing data from other systems like GitHub, Trac, JIRA, and Asana.

Related Objects

StatusAssignedTask
OpenNone
DuplicateNone

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Fogbugz to Phabricator import script: P1795

  • Logic is pretty minimal; it does not import everything, but it gets the bulk of the important stuff.
  • Priorities may be a bit wacky.
  • Comments are brought in as part of the description instead of individual Maniphest task comments.
  • Formatting of long comments: also wacky.
  • Extend as needed.

I wrote a simple github to phabricator import script if anyone is interested : https://github.com/kakaroto/github_to_phabricator

Yet another set of scripts ...

Phill takes in an independent JSON + set-of-attachments and populates Maniphest with them. Jinson/Johill generate this JSON/attachments setup from JIRA XML backup dumps, and bztophill does the same from a Bugzilla dump. These aren't perfect (yet?), but have been working well enough for our uses thus far.

https://git.collabora.com/cgit/user/em/phabricator.git/tree/scripts/phill?h=phill
https://github.com/em-/jinson-and-johill
https://github.com/thiblahute/bztophill

Trac wiki import to Phabricator's Phriction.

Based on svemir's anser in https://secure.phabricator.com/Q12 a not to nice not perfect but more then nothing:

https://github.com/lfarkas/phabricator/blob/master/scripts/util/trac_wiki_import.php

Hi,

I'd love to have Redmine importer as well.

In T3179#111010, @anda wrote:

Has anybody heard of someone migrating jira issues to phabricator? We're thinking about doing that, and of there were some example scripts for the import to start with, that Spaulding be great.

We probably have around 1500 issues to migrate, with a few different jira project names /labels. Of guess that this would best be translated to a label in phabricator.

Did you find a JIRA -> Phabricator migration script?

In T3179#111010, @anda wrote:

Has anybody heard of someone migrating jira issues to phabricator? We're thinking about doing that, and of there were some example scripts for the import to start with, that Spaulding be great.

We probably have around 1500 issues to migrate, with a few different jira project names /labels. Of guess that this would best be translated to a label in phabricator.

Did you find a JIRA -> Phabricator migration script?

Try this: https://secure.phabricator.com/T3179#131976

Any MantisBT -> Phabricator migration scripts ?

Unfortunately I cant import with phill. I get:

PHP Fatal error:  Call to undefined method PhabricatorContentSource::newConsoleSource() in /opt/bitnami/apps/phabricator/htdocs/phill.php on line 453

Why is phill referencing an old method? Last update of phill is 2015-09-10. Is there an alternative method?

Reproducing:

require_once $root.'/scripts/__init_script__.php';

to

require_once $root.'/phabricator/htdocs/scripts/__init_script__.php';
  • Execute using task.json:
./phill.php -i tasks.json

Neither phill nor Bitnami are upstream built/supported.

What could be the alternative method for

PhabricatorContentSource::newConsoleSource()

Was there a previous Phabricator version with this method? Which method replaced it?

What could be the alternative method for

PhabricatorContentSource::newConsoleSource()

Was there a previous Phabricator version with this method? Which method replaced it?

See https://secure.phabricator.com/w/consulting/ and T5447

@PhabTab Prefer this discussion to occur somewhere other than this task. See Support Resources under Community. But I think if you pull up PhabricatorContentSource in Diffusion and look at Commit History, you should find your answer.

In case anyone is interested, we just released a first version of "remaim", a tool for migrating Redmine issues to Maniphest tasks. Pull Requests are very welcome! https://github.com/tentwentyfour/remaim

For those moving from MantisBT into Phabricator Maniphest I'm activily building a full import web based tool that will extract just about anything from mantis, allow editing/ touching up, then process the import into a Phab conduit.

[nearly there.]
https://github.com/Alofoxx/MantisBT-2-Phabricator

In T3179#169180, @Kunda wrote:

Any MantisBT -> Phabricator migration scripts ?

If your still looking mine should be ready in a few days.

Hello to all,

I just finished migrated from JIRA to Phabricator using tool that I made. You can get the source code here: https://github.com/shuLhan/j2p

Hi all, is there a way to import tasks from an excel spreadsheet? Its often way faster to write tasks down in excel (for bug bashes, costing meetings, etc) and later import them into Phabricator.

@snaik phabricator doesn't currently support this. You can write your own however using PHPExcel. I can't see upstream supporting this as I can't imagine it would take significantly more time to just pull up muliple tabs unless the tickets are of very poor quality.

Trac wiki import to Phabricator's Phriction.

Based on svemir's anser in https://secure.phabricator.com/Q12 a not to nice not perfect but more then nothing:

https://github.com/lfarkas/phabricator/blob/master/scripts/util/trac_wiki_import.php

@lfarkas the Github link results in a 404. Do you still have a copy of this script? I am in need of a Trac Wiki importer and yours seems the only one available. Or does anyone else have a working script?

Thanks in advance.

Hi folks,

I'm currently working on a migration from Gitblit tickets to Phabricator tasks.

As Gitblit also supports linking particular commits with tasks, I would like to transfer this information too.
So far I'm using the Conduit maniphest.edit method to pull everything over.
However, I found no (documented) way so far to link a commit with a task, other than doing this manually on the web-ui.

Is there any undocumented transaction type, that can be used for that?

Trac wiki import to Phabricator's Phriction.

Based on svemir's anser in https://secure.phabricator.com/Q12 a not to nice not perfect but more then nothing:

https://github.com/lfarkas/phabricator/blob/master/scripts/util/trac_wiki_import.php

@lfarkas the Github link results in a 404. Do you still have a copy of this script? I am in need of a Trac Wiki importer and yours seems the only one available. Or does anyone else have a working script?

Thanks in advance.

unfortunately i lost it:-(

I have written a couple of scripts to semi-automatically convert trac ("done") and roundup (WIP) to phabricator. The included patch based on D10754 but extended does quite a good job at faking timestamps even for subtasks and notifications etc, but the whole thing is neither complete nor bullet-proof or even convenient. Good enough for people who don't mind to get their hands dirty: https://github.com/lambdafu/phabricator-test

In case anyone is still looking for a Trac Wiki -> Phabricator Phriction importer, we have an ugly but mainly functional script I pasted here: P2056. Code blocks are not always converted correctly, but for us that script was enough.

For all who might need to migrate from trac to Phabricator, feel free to borrow from this bare-bone script: https://gitlab.com/simevo/trac2phab