Пример #1
0
 private string FindFixResolution()
 {
     foreach (RemoteResolution res in _service.getResolutions(_token))
     {
         if (res.name.IndexOf("fix", StringComparison.OrdinalIgnoreCase) >= 0)
         {
             return(res.id);
         }
     }
     throw new ApplicationException("Unable to locate a resolution containing the text 'fix'.");
 }
Пример #2
0
 public List <JiraNamedEntity> getResolutions()
 {
     return(createEntityListFromConstants(service.getResolutions(Token)));
 }