Example #1
0
    def _record_value_change(self, sprint, point_change, component=None, fieldname=Key.REMAINING_TIME):
        if fieldname == Key.STORY_POINTS:
            change = BurndownDataChange.remaining_points_entry(self.env, point_change, sprint, now())
        else:
            change = BurndownDataChange.remaining_time_entry(self.env, point_change, sprint, now())

        if component is not None and AgiloConfig(self.env).is_filtered_burndown_enabled():
            change.update_marker(Key.COMPONENT, component)
        change.save()
Example #2
0
    def _record_value_change(self,
                             sprint,
                             point_change,
                             component=None,
                             fieldname=Key.REMAINING_TIME):
        if fieldname == Key.STORY_POINTS:
            change = BurndownDataChange.remaining_points_entry(
                self.env, point_change, sprint, now())
        else:
            change = BurndownDataChange.remaining_time_entry(
                self.env, point_change, sprint, now())

        if component is not None and AgiloConfig(
                self.env).is_filtered_burndown_enabled():
            change.update_marker(Key.COMPONENT, component)
        change.save()