예제 #1
0
 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();
     }
 }
예제 #2
0
 static string GetBugLink(BugTask bugTask, Bug bug)
 {
     return($"[{bug.Name} ({String.Join(", ", bug.Tags)})]({bugTask.Json.web_link})");
 }