Binboo.Jira.Commands.IssueCommand.FormatIssue C# (CSharp) Method

FormatIssue() private method

private FormatIssue ( RemoteIssue issue, bool showComments ) : string
issue RemoteIssue
showComments bool
return string
        private string FormatIssue(RemoteIssue issue, bool showComments)
        {
            string issueDetails = Run(() => issue.Format());
            if (showComments)
            {
                issueDetails = issueDetails + "\r\n" + Run(() => _jira.GetComments(issue.key));
            }

            return issueDetails + "\r\n" + UrlFor(issue);
        }