Commit 8e3322b4 authored by Mike Lewis's avatar Mike Lewis

Merge branch 'docs/edit-youtrack-docs' into 'master'

Improve Youtrack documentation for style

See merge request gitlab-org/gitlab-ce!26457
parents 08491fb1 b1f1a963
...@@ -3,9 +3,12 @@ ...@@ -3,9 +3,12 @@
GitLab has a great [issue tracker](../user/project/issues/index.md) but you can also use an external one GitLab has a great [issue tracker](../user/project/issues/index.md) but you can also use an external one
such as Jira, Redmine, YouTrack, or Bugzilla. External issue trackers are configurable per GitLab project. such as Jira, Redmine, YouTrack, or Bugzilla. External issue trackers are configurable per GitLab project.
Once configured, you can reference external issues using the format CODE-123, where CODE is a unique code Once configured, you can reference external issues using the format `CODE-123`, where:
for the tracker, and 123 is the issue number in the tracker. These references in GitLab
merge requests, commits, or comments are automatically converted to links to the issues. - `CODE` is a unique code for the tracker.
- `123` is the issue number in the tracker.
These references in GitLab merge requests, commits, or comments are automatically converted to links to the issues.
You can keep GitLab's issue tracker enabled in parallel or disable it. When enabled, the **Issues** link in the You can keep GitLab's issue tracker enabled in parallel or disable it. When enabled, the **Issues** link in the
GitLab menu always opens the internal issue tracker. When disabled, the link is not visible in the menu. GitLab menu always opens the internal issue tracker. When disabled, the link is not visible in the menu.
......
...@@ -18,9 +18,7 @@ ...@@ -18,9 +18,7 @@
![Redmine configuration](img/redmine_configuration.png) ![Redmine configuration](img/redmine_configuration.png)
1. To disable the internal issue tracking system in a project, navigate to the General page, expand [Permissions](../settings/index.md#sharing-and-permissions), and slide the Issues switch invalid. 1. To disable the internal issue tracking system in a project, navigate to the General page, expand the [permissions](../settings/index.md#sharing-and-permissions) section and switch the **Issues** toggle to disabled.
![Issue configuration](img/issue_configuration.png)
## Referencing issues in Redmine ## Referencing issues in Redmine
......
...@@ -4,25 +4,29 @@ JetBrains [YouTrack](https://www.jetbrains.com/help/youtrack/standalone/YouTrack ...@@ -4,25 +4,29 @@ JetBrains [YouTrack](https://www.jetbrains.com/help/youtrack/standalone/YouTrack
You can configure YouTrack as an [External Issue Tracker](../../../integration/external-issue-tracker.md) in GitLab. You can configure YouTrack as an [External Issue Tracker](../../../integration/external-issue-tracker.md) in GitLab.
## Enable the YouTrack integration in a project ## Enable the YouTrack integration
Navigate to the [Integrations page](project_services.md#accessing-the-project-services), click To enable YouTrack integration in a project:
the **YouTrack** service, and enter the required details on the page as described
in the table below. 1. Navigate to the project's **Settings > [Integrations](project_services.md#accessing-the-project-services)** page.
1. Click the **YouTrack** service, ensure it's active, and enter the required details on the page as described in the table below.
| Field | Description | | Field | Description |
| ----- | ----------- | |:----------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `description` | A name for the issue tracker (to differentiate between instances, for example) | | **Description** | Name for the issue tracker (to differentiate between instances, for example). |
| `project_url` | The URL to the project in YouTrack which is being linked to this GitLab project | | **Project url** | URL to the project in YouTrack which is being linked to this GitLab project. |
| `issues_url` | The URL to the issue in YouTrack project that is linked to this GitLab project. Note that the `issues_url` requires `:id` in the URL. This ID is used by GitLab as a placeholder to replace the issue number. | | **Issues url** | URL to the issue in YouTrack project that is linked to this GitLab project. Note that the **Issues url** requires `:id` in the URL. This ID is used by GitLab as a placeholder to replace the issue number. |
1. Click the **Save changes** button.
Once you have configured and enabled YouTrack you'll see the YouTrack link on the GitLab project pages that takes you to the appropriate YouTrack project. Once you have configured and enabled YouTrack, you'll see the YouTrack link on the GitLab project pages that takes you to the appropriate YouTrack project.
## Disable the internal issue tracker in a project ## Disable the internal issue tracker
Navigate to the General page, expand [Permissions](../settings/index.md#sharing-and-permissions), and switch the Issues toggle to disabled. To disable the internal issue tracker in a project:
![Issue configuration](img/issue_configuration.png) 1. Navigate to the project's **Settings > General** page.
1. Expand the [permissions section](../settings/index.md#sharing-and-permissions) and switch the **Issues** toggle to disabled.
## Referencing YouTrack issues in GitLab ## Referencing YouTrack issues in GitLab
...@@ -30,5 +34,5 @@ Issues in YouTrack can be referenced as `<PROJECT>-<ID>`. `<PROJECT>` ...@@ -30,5 +34,5 @@ Issues in YouTrack can be referenced as `<PROJECT>-<ID>`. `<PROJECT>`
must start with a capital letter and can then be followed by capital or lower case must start with a capital letter and can then be followed by capital or lower case
letters, numbers or underscores. `<ID>` is a number. An example reference is `YT-101` or `Api_32-143`. letters, numbers or underscores. `<ID>` is a number. An example reference is `YT-101` or `Api_32-143`.
References to <PROJECT>-<ID> in merge requests, commits, or comments are automatically linked to the YouTrack issue URL. References to `<PROJECT>-<ID>` in merge requests, commits, or comments are automatically linked to the YouTrack issue URL.
For more information, see the [External Issue Tracker](../../../integration/external-issue-tracker.md) documentation. For more information, see the [External Issue Tracker](../../../integration/external-issue-tracker.md) documentation.
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