Commit b03acfb7 authored by Justin Ho's avatar Justin Ho

Add external_tracker to JiraIssueSerializer

Needed by frontend to differentiate between Jira issues
and normal issues.
parent 2a7103d8
......@@ -64,6 +64,10 @@ module Integrations
relative: jira_issue.key
}
end
expose :external_tracker do |_jira_issue|
'jira'
end
end
end
end
......@@ -40,7 +40,8 @@ RSpec.describe Integrations::Jira::IssueEntity do
{ name: 'assignee' }
],
web_url: 'http://jira.com/projects/GL/issues/GL-5',
references: { relative: 'GL-5' }
references: { relative: 'GL-5' },
external_tracker: 'jira'
)
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