internal void GetCurrentIterationStories()
        {
            TpUserStories = _service.GetStoriesByIteration(CurrentSelectedIteration.IterationId, "12694");

            if (TpUserStories != null)
            {
                TotalPoints = TpUserStories.Sum(story => double.Parse(story.Effort)).ToString(CultureInfo.InvariantCulture);
                TotalHours  = TpUserStories.Sum(story => double.Parse(story.TimeSpent)).ToString(CultureInfo.InvariantCulture);
            }

            OnPropertyChanged("TpUserStories");
            OnPropertyChanged("TotalPoints");
            OnPropertyChanged("TotalHours");
        }
예제 #2
0
 private void InitializeLists()
 {
     IterationList = _service.GetIterations("12694");
     TpUserStories = _service.GetStoriesByIteration(CurrentIteration.IterationId, "12694");
 }