Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-01 21:07:29 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-01 21:07:29 +0300
commited323a3c6fcc2927e217b72121875abd448c2785 (patch)
treefa9ec07b438884c641640ffa97c61e1339b9a9da /lib/gitlab/hook_data
parent04e74bf311de04c1334343a35fe9954953c6413d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/hook_data')
-rw-r--r--lib/gitlab/hook_data/issue_builder.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/hook_data/issue_builder.rb b/lib/gitlab/hook_data/issue_builder.rb
index 2d1bb515058..181ce447b52 100644
--- a/lib/gitlab/hook_data/issue_builder.rb
+++ b/lib/gitlab/hook_data/issue_builder.rb
@@ -8,6 +8,7 @@ module Gitlab
labels
total_time_spent
time_change
+ severity
].freeze
def self.safe_hook_attributes
@@ -51,7 +52,8 @@ module Gitlab
assignee_ids: issue.assignee_ids,
assignee_id: issue.assignee_ids.first, # This key is deprecated
labels: issue.labels_hook_attrs,
- state: issue.state
+ state: issue.state,
+ severity: issue.severity
}
issue.attributes.with_indifferent_access.slice(*self.class.safe_hook_attributes)