diff --git a/README.md b/README.md index e1fab2a..04b051a 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ Just remember to urldecode it. Save it and you should ready to go! ## Todo list +- [ ] delete worklog through simple cli version for today - [ ] ticket status change prompt after logging time - [ ] tests - [ ] unify workLogs and worklogsIssues structs - use one for both diff --git a/gojira/cli.go b/gojira/cli.go index 6d63c72..6f7f633 100644 --- a/gojira/cli.go +++ b/gojira/cli.go @@ -258,7 +258,6 @@ func (issue Issue) LogWork(logTime *time.Time, timeSpent string) error { return err } if Config.UpdateExistingWorklog { - // FIXME should I append worklog or replace it? for index, workLog := range todayWorklog { if workLog.Issue.Key == issue.Key { timeSpentSum := FormatTimeSpent(TimeSpentToSeconds(timeSpent) + workLog.TimeSpentSeconds)