public Issue GetJiraIssue(string jiraRef, bool includeWorkLogs = false) { try { CheckAndConnectJira(); var issue = includeWorkLogs ? jira.GetIssueWithWorklogs(jiraRef) : jira.GetIssue(jiraRef); recentJiraCollection.AddRecentJira(issue); return(issue); } catch (Exception ex) { recentJiraCollection.Remove(jiraRef); throw new NoResultsFoundException(string.Format("Unable to locate Jira {0}", jiraRef), ex); } }