private List <JIRAIssueItem> ConvertFromRemoteIssues(IList <RemoteIssue> issues) { List <JIRAIssueItem> result = new List <JIRAIssueItem>(); foreach (RemoteIssue inIssue in issues) { JIRAIssueItem outIssue = new JIRAIssueItem(inIssue.key, _config.BaseUrl); outIssue.setDescription(inIssue.summary); outIssue.Status = int.Parse(inIssue.status); result.Add(outIssue); } return(result); }
private List<JIRAIssueItem> ConvertFromRemoteIssues( IList<RemoteIssue> issues ) { List<JIRAIssueItem> result= new List<JIRAIssueItem>(); foreach( RemoteIssue inIssue in issues ) { JIRAIssueItem outIssue= new JIRAIssueItem( inIssue.key, _config.BaseUrl ); outIssue.setDescription(inIssue.summary); outIssue.Status= int.Parse( inIssue.status ); result.Add( outIssue ); } return result; }