Loading
feat: add timelog command for time tracking
Description
Adds glab timelog list, which reports the time logged on issues and merge requests for a project or a group over a date range. This is step 3 of #969 (closed).
- Scope: the current project,
-Rfor another project, or-gfor a group and its subgroups. - Filters:
--start-date,--end-date(inclusive,YYYY-MM-DD), and--user <username>or--user @me. - Text output lists entries newest first and ends with the total.
-F jsonreturns the raw entries. - Uses GitLab's time tracking units (1d = 8h, 1w = 5d, 1mo = 4w). Time that was subtracted shows as negative and lowers the total.
Related Issues
Resolves #969 (closed) (as the final step per the triage comment)
How has this been tested?
glab timelog list -R gitlab-org/cli
glab timelog list -g gitlab-org --user @me --start-date 2026-10-01