debian-mirror-gitlab/doc/integration/jira/index.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

65 lines
4.7 KiB
Markdown
Raw Normal View History

2021-04-29 21:17:54 +05:30
---
2022-11-25 23:54:43 +05:30
stage: Manage
2023-07-09 08:55:56 +05:30
group: Import and Integrate
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
2021-04-29 21:17:54 +05:30
---
2023-05-27 22:25:52 +05:30
# Jira **(FREE)**
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
If your organization uses [Jira](https://www.atlassian.com/software/jira),
you can [migrate your issues from Jira to GitLab](../../user/project/import/jira.md).
If you want to continue to use Jira, you can integrate Jira with GitLab instead.
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
## Jira integrations
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
GitLab offers two types of Jira integrations. You can use one or both integrations
[depending on the capabilities you need](#jira-integration-capabilities).
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
### Jira issue integration
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
You can use the [Jira issue integration](configure.md) developed by GitLab with Jira Cloud, Jira Data Center, or Jira Server. With this integration, you can:
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
- View and search Jira issues directly in GitLab.
- Refer to Jira issues by ID in GitLab commits and merge requests.
- Create Jira issues for vulnerabilities.
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
### Jira development panel
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
You can use the [Jira development panel](development_panel.md) to [view GitLab activity for an issue](https://support.atlassian.com/jira-software-cloud/docs/view-development-information-for-an-issue/)
including related branches, commits, and merge requests. To configure the Jira development panel:
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
- **For Jira Cloud**, use the [GitLab for Jira Cloud app](connect-app.md) developed by GitLab.
- **For Jira Data Center or Jira Server**, use the [Jira DVCS connector](dvcs/index.md) developed by Atlassian.
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
## Jira integration capabilities
2021-09-30 23:02:18 +05:30
2023-07-09 08:55:56 +05:30
This table shows the capabilities available with the Jira issue integration and the Jira development panel:
2021-04-29 21:17:54 +05:30
2023-07-09 08:55:56 +05:30
| Capability | Jira issue integration | Jira development panel |
2021-04-29 21:17:54 +05:30
|-|-|-|
2023-07-09 08:55:56 +05:30
| Mention a Jira issue ID in a GitLab commit or merge request, and a link to the Jira issue is created | **{check-circle}** Yes | **{dotted-circle}** No |
| Mention a Jira issue ID in GitLab, and the Jira issue shows the GitLab issue or merge request | **{check-circle}** Yes, a Jira comment with the GitLab issue or merge request title links to GitLab. The first mention is also added to the Jira issue under **Web links** | **{check-circle}** Yes, in the issue's [development panel](https://support.atlassian.com/jira-software-cloud/docs/view-development-information-for-an-issue/) |
| Mention a Jira issue ID in a GitLab commit message, and the Jira issue shows the commit message | **{check-circle}** Yes, the entire commit message is displayed in the Jira issue as a comment and under **Web links**. Each message links back to the commit in GitLab | **{check-circle}** Yes, in the issue's development panel and optionally with a custom comment on the Jira issue by using [Jira Smart Commits](https://confluence.atlassian.com/fisheye/using-smart-commits-960155400.html) |
| Mention a Jira issue ID in a GitLab branch name, and the Jira issue shows the branch name | **{dotted-circle}** No | **{check-circle}** Yes, in the issue's development panel |
| Add time tracking to a Jira issue | **{dotted-circle}** No | **{check-circle}** Yes, time can be specified by using Jira Smart Commits |
| Use a Git commit or merge request to transition or close a Jira issue |**{check-circle}** Yes, only a single transition type. Typically configured to close the issue by setting it to **Done** | **{check-circle}** Yes, transition to any state by using Jira Smart Commits |
| [View a list of Jira issues](issues.md#view-jira-issues) | **{check-circle}** Yes | **{dotted-circle}** No |
| [Create a Jira issue for a vulnerability](../../user/application_security/vulnerabilities/index.md#create-a-jira-issue-for-a-vulnerability) | **{check-circle}** Yes | **{dotted-circle}** No |
| Create a GitLab branch from a Jira issue | **{dotted-circle}** No | **{check-circle}** Yes, in the issue's development panel |
| Mention a Jira issue ID in a GitLab merge request, and deployments are synced | **{dotted-circle}** No | **{check-circle}** Yes, in the issue's development panel |
2021-04-29 21:17:54 +05:30
2021-06-08 01:23:25 +05:30
## Privacy considerations
2022-07-23 23:45:48 +05:30
All Jira integrations share data with Jira to make it visible outside of GitLab.
If you integrate a private GitLab project with Jira, the private data is
shared with users who have access to your Jira project.
2023-07-09 08:55:56 +05:30
The [Jira issue integration](configure.md) posts GitLab data in the form of comments in Jira issues.
The GitLab for Jira Cloud app and Jira DVCS connector share this data through the [Jira development panel](development_panel.md).
2022-07-23 23:45:48 +05:30
This method provides more fine-grained access control because access can be restricted to certain user groups or roles.
2021-06-08 01:23:25 +05:30
2021-12-11 22:18:48 +05:30
## Third-party Jira integrations
Developers have built several third-party Jira integrations for GitLab that are
listed on the [Atlassian Marketplace](https://marketplace.atlassian.com/search?product=jira&query=gitlab).