gitlab-org--gitlab-foss/lib/gitlab/cycle_analytics/plan_stage.rb

22 lines
514 B
Ruby
Raw Normal View History

module Gitlab
module CycleAnalytics
class PlanStage < BaseStage
2016-12-02 16:09:29 +00:00
def initialize(*args)
@start_time_attrs = [issue_metrics_table[:first_associated_with_milestone_at],
issue_metrics_table[:first_added_to_board_at]]
@end_time_attrs = issue_metrics_table[:first_mentioned_in_commit_at]
super(*args)
end
def name
:plan
2016-12-02 16:09:29 +00:00
end
def description
"Time before an issue starts implementation"
end
end
end
end