Skip to content

Commit

Permalink
➕ worklog comments made their way to Jira worklogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Hraško committed Jan 29, 2024
1 parent 91824e2 commit e8ef1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwl.core/JwlCoreProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private async Task FillJiraWithWorklogs(InputWorkLog[] inputWorklogs, WorkLog[]
Task[] fillJiraWithWorklogsTasks = worklogsForDeletion
.Select(worklog => _jiraClient.DeleteWorklog(worklog.IssueId, worklog.Id))
.Concat(inputWorklogs
.Select(worklog => _jiraClient.AddWorklog(worklog.IssueKey.ToString(), DateOnly.FromDateTime(worklog.Date), (int)worklog.TimeSpent.TotalSeconds, worklog.WorkLogActivity, string.Empty))
.Select(worklog => _jiraClient.AddWorklog(worklog.IssueKey.ToString(), DateOnly.FromDateTime(worklog.Date), (int)worklog.TimeSpent.TotalSeconds, worklog.WorkLogActivity, worklog.WorkLogComment))
)
.ToArray();

Expand Down

0 comments on commit e8ef1fd

Please sign in to comment.