diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /lib/gitlab/hook_data | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
Diffstat (limited to 'lib/gitlab/hook_data')
-rw-r--r-- | lib/gitlab/hook_data/issue_builder.rb | 4 |
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) |