gitlab-org--gitlab-foss/doc/user/project/import/phabricator.md
Bob Van Landuyt 32184839c3 Fetch users from Phabricator to link to issues
We fetch the users from Phabricator based on their Phabricator ID. If
a user with the same username exists and is a member of the project,
we set them as assignee or author.

When a user is applicable, we also cache it in Redis so we don't have
to perform the request again for the same phid.
2019-07-10 17:15:43 +02:00

1 KiB

Import Phabricator tasks into a GitLab project

Introduced in GitLab 12.0.

GitLab allows you to import all tasks from a Phabricator instance into GitLab issues. The import creates a single project with the repository disabled.

Currently, only the following basic fields are imported:

  • Title
  • Description
  • State (open or closed)
  • Created at
  • Closed at

Users

The assignee and author of a user are deducted from a Task's owner and author: If a user with the same username has access to the namespace of the project being imported into, then the user will be linked.

Enabling this feature

While this feature is incomplete, a feature flag is required to enable it so that we can gain early feedback before releasing it for everyone. To enable it:

  1. Run the following command in a Rails console:

    Feature.enable(:phabricator_import)
    
  2. Enable Phabricator as an import source in the Admin area.