Commit ec350f0b authored by Marin Jankovski's avatar Marin Jankovski

Merge pull request #9042 from skburgart/fix/jira-link

Fix broken link in jira service
parents cc8de0e5 471487d2
...@@ -24,13 +24,12 @@ class JiraService < IssueTrackerService ...@@ -24,13 +24,12 @@ class JiraService < IssueTrackerService
prop_accessor :title, :description, :project_url, :issues_url, :new_issue_url prop_accessor :title, :description, :project_url, :issues_url, :new_issue_url
def help def help
issue_tracker_link = help_page_path("integration", "external-issue-tracker") line1 = 'Setting `project_url`, `issues_url` and `new_issue_url` will '\
'allow a user to easily navigate to the Jira issue tracker. See the '\
'[integration doc](http://doc.gitlab.com/ce/integration/external-issue-tracker.html) '\
'for details.'
line1 = "Setting `project_url`, `issues_url` and `new_issue_url` will "\ line2 = 'Support for referencing commits and automatic closing of Jira issues directly '\
"allow a user to easily navigate to the Jira issue tracker. "\
"See the [integration doc](#{issue_tracker_link}) for details."
line2 = 'Support for referencing commits and automatic closing of Jira issues directly ' \
'from GitLab is [available in GitLab EE.](http://doc.gitlab.com/ee/integration/jira.html)' 'from GitLab is [available in GitLab EE.](http://doc.gitlab.com/ee/integration/jira.html)'
[line1, line2].join("\n\n") [line1, line2].join("\n\n")
......
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