lib/tracker_api/resources/iteration.rb in tracker_api-1.10.0 vs lib/tracker_api/resources/iteration.rb in tracker_api-1.11.0
- old
+ new
@@ -22,8 +22,22 @@
attribute :effective_points, Float
def stories=(data)
super.each { |s| s.client = client }
end
+
+ # Provides a list of all the cycle_time_details of each story in the iteration.
+ #
+ # @return [Array[CycleTimeDetails]] array of cycle_time_details of iterations in this project
+ def cycle_time_details
+ Endpoints::Iteration.new(client).get_analytics_cycle_time_details(project_id, number)
+ end
+
+ # Returns per day information of story points and counts by state for the given iteration.
+ #
+ # @return [DailyHistoryContainer]
+ def get_history
+ Endpoints::Iteration.new(client).get_history(project_id, number)
+ end
end
end
end