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

issue_created.rb « stage_events « cycle_analytics « analytics « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a159580b7bd5e264c7d34c077f46977011d543c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# frozen_string_literal: true

module Gitlab
  module Analytics
    module CycleAnalytics
      module StageEvents
        class IssueCreated < StageEvent
          def self.name
            s_("CycleAnalyticsEvent|Issue created")
          end

          def self.identifier
            :issue_created
          end

          def object_type
            Issue
          end

          def timestamp_projection
            issue_table[:created_at]
          end
        end
      end
    end
  end
end