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'."); }
public List <JiraNamedEntity> getResolutions() { return(createEntityListFromConstants(service.getResolutions(Token))); }