Example #1
0
 private Story[] GetPivotalStories()
 {
     Cursor = Cursors.WaitCursor;
     IPivotal p = new Pivotal(txtStep_PivotalUsername.Text, txtStep_PiovtalPassword.Text);
     try
     {
         var iterations = p.GetIteration((Project) cboPivotalProjects.SelectedItem,
                                         ((Pivotal.IterationVersion) cboPivotalIteration.SelectedItem));
         return iterations.First().Stories.stories;
     }
     catch (Exception ex)
     {
         //LogError(ex);
     }
     Cursor = Cursors.Arrow;
     return new Story[] {};
 }