summaryrefslogtreecommitdiff
path: root/app/models/issuable_severity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/issuable_severity.rb')
-rw-r--r--app/models/issuable_severity.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/issuable_severity.rb b/app/models/issuable_severity.rb
index d68b3dc48ee..35d03a544bd 100644
--- a/app/models/issuable_severity.rb
+++ b/app/models/issuable_severity.rb
@@ -2,6 +2,13 @@
class IssuableSeverity < ApplicationRecord
DEFAULT = 'unknown'
+ SEVERITY_LABELS = {
+ unknown: 'Unknown',
+ low: 'Low - S4',
+ medium: 'Medium - S3',
+ high: 'High - S2',
+ critical: 'Critical - S1'
+ }.freeze
belongs_to :issue