Commit cc685539 authored by charlie ablett's avatar charlie ablett

Merge branch 'eread/fix-capitalization-for-youtrack' into 'master'

Fix capitalization of URL in field labels

See merge request gitlab-org/gitlab!31182
parents c1859eaf 5e1da5e6
...@@ -125,6 +125,7 @@ ...@@ -125,6 +125,7 @@
"Ultra Auth", "Ultra Auth",
"Unicorn", "Unicorn",
"unicorn-worker-killer", "unicorn-worker-killer",
"URL",
"WebdriverIO", "WebdriverIO",
"YAML", "YAML",
"YouTrack" "YouTrack"
......
...@@ -27,8 +27,8 @@ class YoutrackService < IssueTrackerService ...@@ -27,8 +27,8 @@ class YoutrackService < IssueTrackerService
def fields def fields
[ [
{ type: 'text', name: 'description', placeholder: description }, { type: 'text', name: 'description', placeholder: description },
{ type: 'text', name: 'project_url', placeholder: 'Project url', required: true }, { type: 'text', name: 'project_url', title: 'Project URL', placeholder: 'Project URL', required: true },
{ type: 'text', name: 'issues_url', placeholder: 'Issue url', required: true } { type: 'text', name: 'issues_url', title: 'Issue URL', placeholder: 'Issue URL', required: true }
] ]
end end
end end
...@@ -14,8 +14,8 @@ To enable YouTrack integration in a project: ...@@ -14,8 +14,8 @@ To enable YouTrack integration in a project:
| Field | Description | | Field | Description |
|:----------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |:----------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Description** | 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** | 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** | 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. 1. Click the **Save changes** button.
......
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