Commit 6b8ce1b1 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'update-jira-issue-link' into 'master'

Update Jira issue link

See merge request gitlab-org/gitlab!36549
parents 02d77113 470a185e
...@@ -57,7 +57,7 @@ module Integrations ...@@ -57,7 +57,7 @@ module Integrations
end end
expose :web_url do |jira_issue| expose :web_url do |jira_issue|
"#{jira_issue.client.options[:site]}projects/#{jira_issue.project.key}/issues/#{jira_issue.key}" "#{jira_issue.client.options[:site]}browse/#{jira_issue.key}"
end end
expose :references do |jira_issue| expose :references do |jira_issue|
......
...@@ -47,7 +47,7 @@ RSpec.describe Integrations::Jira::IssueEntity do ...@@ -47,7 +47,7 @@ RSpec.describe Integrations::Jira::IssueEntity do
assignees: [ assignees: [
{ name: 'assignee' } { name: 'assignee' }
], ],
web_url: 'http://jira.com/projects/GL/issues/GL-5', web_url: 'http://jira.com/browse/GL-5',
references: { relative: 'GL-5' }, references: { relative: 'GL-5' },
external_tracker: 'jira' external_tracker: 'jira'
) )
......
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