Commit faca8aaf authored by Sean McGivern's avatar Sean McGivern

Merge branch 'justin_ho-add-external_tracker-jira-issue-serializer' into 'master'

Add external_tracker to JiraIssueSerializer

See merge request gitlab-org/gitlab!36263
parents 9ec3f25a b03acfb7
...@@ -64,6 +64,10 @@ module Integrations ...@@ -64,6 +64,10 @@ module Integrations
relative: jira_issue.key relative: jira_issue.key
} }
end end
expose :external_tracker do |_jira_issue|
'jira'
end
end end
end end
end end
...@@ -40,7 +40,8 @@ RSpec.describe Integrations::Jira::IssueEntity do ...@@ -40,7 +40,8 @@ RSpec.describe Integrations::Jira::IssueEntity do
{ name: 'assignee' } { name: 'assignee' }
], ],
web_url: 'http://jira.com/projects/GL/issues/GL-5', web_url: 'http://jira.com/projects/GL/issues/GL-5',
references: { relative: 'GL-5' } references: { relative: 'GL-5' },
external_tracker: 'jira'
) )
end end
......
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