debian-mirror-gitlab/doc/user/project/import/jira.md

92 lines
3.9 KiB
Markdown
Raw Normal View History

2020-06-23 00:09:42 +05:30
---
stage: Plan
group: Project Management
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2020-06-23 00:09:42 +05:30
---
2021-11-11 11:23:49 +05:30
# Import your Jira project issues to GitLab **(FREE)**
2020-04-22 19:07:51 +05:30
> [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/2766) in GitLab 12.10.
Using GitLab Jira importer, you can import your Jira issues to GitLab.com or to
your self-managed GitLab instance.
Jira issues import is an MVC, project-level feature, meaning that issues from multiple
Jira projects can be imported into a GitLab project. MVC version imports issue title and description
as well as some other issue metadata as a section in the issue description.
2020-07-28 23:09:34 +05:30
## Known limitations
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
The information imported into GitLab fields from Jira depends on the version of GitLab:
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
- From GitLab 12.10 to GitLab 13.1, only the issue's title and description are imported
directly.
- From GitLab 13.2:
- The issue's labels are also imported directly.
- You're also able to map Jira users to GitLab project members when preparing for the
import.
Other Jira issue metadata that is not formally mapped to GitLab issue fields is
imported into the GitLab issue's description as plain text.
Our parser for converting text in Jira issues to GitLab Flavored Markdown is only compatible with
Jira V3 REST API.
2022-05-07 20:08:51 +05:30
There is an [epic](https://gitlab.com/groups/gitlab-org/-/epics/2738) tracking the addition of issue assignees, comments, and much more in the future
2020-07-28 23:09:34 +05:30
iterations of the GitLab Jira importer.
2020-05-24 23:13:21 +05:30
2020-04-22 19:07:51 +05:30
## Prerequisites
### Permissions
2022-04-04 11:22:00 +05:30
To be able to import issues from a Jira project you must have read access on Jira
issues and at least the Maintainer role in the GitLab project that you wish to import into.
2020-04-22 19:07:51 +05:30
### Jira integration
2021-10-27 15:23:28 +05:30
This feature uses the existing GitLab [Jira integration](../../../integration/jira/index.md).
2020-04-22 19:07:51 +05:30
Make sure you have the integration set up before trying to import Jira issues.
## Import Jira issues to GitLab
2020-07-28 23:09:34 +05:30
> New import form [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/216145) in GitLab 13.2.
2021-02-22 17:27:13 +05:30
NOTE:
2020-04-22 19:07:51 +05:30
Importing Jira issues is done as an asynchronous background job, which
may result in delays based on import queues load, system load, or other factors.
Importing large projects may take several minutes depending on the size of the import.
2021-06-08 01:23:25 +05:30
To import Jira issues to a GitLab project:
2022-05-07 20:08:51 +05:30
1. On the **{issues}** **Issues** page, select **Import Issues** (**{import}**) **> Import from Jira**.
2020-04-22 19:07:51 +05:30
![Import issues from Jira button](img/jira/import_issues_from_jira_button_v12_10.png)
2020-07-28 23:09:34 +05:30
The **Import from Jira** option is only visible if you have the [correct permissions](#permissions).
2020-04-22 19:07:51 +05:30
The following form appears.
2021-10-27 15:23:28 +05:30
If you've previously set up the [Jira integration](../../../integration/jira/index.md), you can now see
2022-05-07 20:08:51 +05:30
the Jira projects that you have access to in the dropdown list.
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
![Import issues from Jira form](img/jira/import_issues_from_jira_form_v13_2.png)
2020-04-22 19:07:51 +05:30
2022-07-23 23:45:48 +05:30
1. Select the **Import from** dropdown list and select the Jira project that you wish to import issues from.
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
In the **Jira-GitLab user mapping template** section, the table shows to which GitLab users your Jira
2021-02-22 17:27:13 +05:30
users are mapped.
2022-05-07 20:08:51 +05:30
When the form appears, the dropdown list defaults to the user conducting the import.
2020-04-22 19:07:51 +05:30
2022-07-23 23:45:48 +05:30
1. To change any of the mappings, select the dropdown list in the **GitLab username** column and
2020-07-28 23:09:34 +05:30
select the user you want to map to each Jira user.
2022-05-07 20:08:51 +05:30
The dropdown list may not show all the users, so use the search bar to find a specific
2020-07-28 23:09:34 +05:30
user in this GitLab project.
2022-07-23 23:45:48 +05:30
1. Select **Continue**. You're presented with a confirmation that import has started.
2020-04-22 19:07:51 +05:30
While the import is running in the background, you can navigate away from the import status page
2021-02-22 17:27:13 +05:30
to the issues page, and you can see the new issues appearing in the issues list.
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
1. To check the status of your import, go to the Jira import page again.