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

27 lines
587 B
Ruby

module Gitlab
module CycleAnalytics
class PlanStage < BaseStage
def start_time_attrs
@start_time_attrs ||= [issue_metrics_table[:first_associated_with_milestone_at],
issue_metrics_table[:first_added_to_board_at]]
end
def end_time_attrs
@end_time_attrs ||= issue_metrics_table[:first_mentioned_in_commit_at]
end
def name
:plan
end
def legend
"Related Commits"
end
def description
"Time before an issue starts implementation"
end
end
end
end