Exemple #1
0
        internal IIssue[] GetAllIssues(string text, int offsett, int maxNumber)
        {
            var issues = new List <JiraIssue>();

            //RemoteProject[] projects = _service.getProjectsNoSchemes(_token);
            //RemoteIssue[] allissues = _service.getIssuesFromTextSearchWithProject(_token, new string[] { projects[0].key }, " ", 100);
            RemoteIssue[] allissues = _service.getIssuesFromTextSearchWithLimit(_token, text, offsett, maxNumber);
            foreach (RemoteIssue issue in allissues)
            {
                issues.Add(new JiraIssue(this, issue));
            }
            return(issues.ToArray());
        }