Skip to main content

ISSUE_WORKLOGS

Constant ISSUE_WORKLOGS 

Source
pub const ISSUE_WORKLOGS: &str = "\
Show the time logged against an issue.

```
ytcli issue worklogs PROJ-1
```

Every entry with its duration, when it was logged and by whom, and the total at
the end. Durations read the way they are typed — `1h 30m` — while `--format
json` keeps Tracker's ISO 8601, which is what a script is written against.

The total leaves days and weeks as they came. Tracker counts a working day as
eight hours and a working week as five days; turning `P1D` into 24 hours here
would produce a number nobody's timesheet agrees with.

Writing is `ytcli issue worklog add`, a different command on purpose.";