Commit d5e1b095 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '227475-jira-label-colors' into 'master'

Update Jira issues label colors

Closes #227475

See merge request gitlab-org/gitlab!36545
parents 2b4c9958 4e51b0b5
......@@ -25,13 +25,10 @@ module Integrations
expose :labels do |jira_issue|
jira_issue.labels.map do |name|
bg_color = Label.color_for(name)
text_color = LabelsHelper.text_color_for_bg(bg_color)
{
name: name,
color: bg_color,
text_color: text_color
color: '#EBECF0',
text_color: '#283856'
}
end
......
......@@ -39,8 +39,8 @@ RSpec.describe Integrations::Jira::IssueEntity do
labels: [
{
name: 'backend',
color: '#b43fdd',
text_color: '#FFFFFF'
color: '#EBECF0',
text_color: '#283856'
}
],
author: hash_including(name: 'reporter'),
......
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