2019-04-23 10:27:01 -04:00
|
|
|
# Import Phabricator tasks into a GitLab project
|
|
|
|
|
2019-09-18 10:02:45 -04:00
|
|
|
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/issues/60562) in
|
2019-04-23 10:27:01 -04:00
|
|
|
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
|
|
|
|
|
2019-07-03 13:44:05 -04:00
|
|
|
## 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.
|
|
|
|
|
2019-04-23 10:27:01 -04:00
|
|
|
## 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:
|
|
|
|
|
2019-06-04 05:04:49 -04:00
|
|
|
1. Run the following command in a Rails console:
|
2019-04-23 10:27:01 -04:00
|
|
|
|
2019-06-04 05:04:49 -04:00
|
|
|
```ruby
|
|
|
|
Feature.enable(:phabricator_import)
|
|
|
|
```
|
2019-04-23 10:27:01 -04:00
|
|
|
|
2020-01-08 19:07:40 -05:00
|
|
|
1. Enable Phabricator as an [import source](../../admin_area/settings/visibility_and_access_controls.md#import-sources) in the Admin Area.
|