Коммиты отсортированы по времени
This commit is contained in:
1 parent
27af894759
commit
e84d5413cd
3 files changed
+12
-3
No files matched your search
@@ -93,7 +93,7 @@ namespace JiraTimeBotForm.JiraIntegration
|
||||
{
|
||||
var timeSpentJira = $"{taskTimeItem.Time.TotalMinutes}m";
|
||||
|
||||
var comment = _dummyComments.OrderBy(x => Guid.NewGuid()).FirstOrDefault();
|
||||
var comment = _dummyComments.ElementAt(new Random(DateTime.Now.Millisecond).Next(_dummyComments.Count));
|
||||
if (addCommentsToWorklog)
|
||||
{
|
||||
comment = taskTimeItem.Description;
|
||||
|
||||
Reference in new issue
Block a user