Commit 49af0f6e authored by Amy Qualls's avatar Amy Qualls

Merge branch '273207-documentation-add-smart-commits-section-to-jira-dvcs-page' into 'master'

Docs: Add a smart commits section to Jira DVCS

See merge request gitlab-org/gitlab!59380
parents 8e3553ce 512a21fd
...@@ -11,6 +11,8 @@ You can integrate GitLab.com and Jira Cloud using the ...@@ -11,6 +11,8 @@ You can integrate GitLab.com and Jira Cloud using the
app in the Atlassian Marketplace. The user configuring GitLab for Jira must have app in the Atlassian Marketplace. The user configuring GitLab for Jira must have
[Maintainer](../../user/permissions.md) permissions in the GitLab namespace. [Maintainer](../../user/permissions.md) permissions in the GitLab namespace.
This integration method supports [smart commits](dvcs.md#smart-commits).
This method is recommended when using GitLab.com and Jira Cloud because data is This method is recommended when using GitLab.com and Jira Cloud because data is
synchronized in real-time. The DVCS connector updates data only once per hour. synchronized in real-time. The DVCS connector updates data only once per hour.
If you are not using both of these environments, use the [Jira DVCS Connector](dvcs.md) method. If you are not using both of these environments, use the [Jira DVCS Connector](dvcs.md) method.
......
...@@ -18,6 +18,25 @@ are accessible. ...@@ -18,6 +18,25 @@ are accessible.
- **Jira Cloud**: Your instance must be accessible through the internet. - **Jira Cloud**: Your instance must be accessible through the internet.
- **Jira Server**: Your network must allow access to your instance. - **Jira Server**: Your network must allow access to your instance.
## Smart commits
When connecting GitLab with Jira with DVCS, you can process your Jira issues using
special commands, called
[Smart Commits](https://support.atlassian.com/jira-software-cloud/docs/process-issues-with-smart-commits/),
in your commit messages. With Smart Commits, you can:
- Comment on issues.
- Record time-tracking information against issues.
- Transition issues to any status defined in the Jira project's workflow.
Commands must be in the first line of the commit message. The
[Jira Software documentation](https://support.atlassian.com/jira-software-cloud/docs/process-issues-with-smart-commits/)
contains more information about how smart commits work, and what commands are available
for your use.
For smart commits to work, the committing user on GitLab must have a corresponding
user on Jira with the same email address or username.
## Configure a GitLab application for DVCS ## Configure a GitLab application for DVCS
We recommend you create and use a `jira` user in GitLab, and use the account only We recommend you create and use a `jira` user in GitLab, and use the account only
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment