static void WriteBugIssues(BugTask bugTask, Bug bug, Milestone milestone, List <string> issues) { if (issues.Count > 0) { Console.WriteLine( $"- {GetBugLink(bugTask, bug)}\n" + $" - **Status:** {bugTask.Status}, {bugTask.Importance}, {milestone?.Name}\n" + String.Join("\n", issues.Select(issue => $" - **Issue:** {issue}")) ); Console.WriteLine(); } }
static string GetBugLink(BugTask bugTask, Bug bug) { return($"[{bug.Name} ({String.Join(", ", bug.Tags)})]({bugTask.Json.web_link})"); }