Skip to content

Time Tracking

Log work on issues with direct entry or timer mode.

  • Authenticated profile (atlcli auth login)
  • Jira permission: Work on Issues

Start a timer, work, then stop to log time automatically:

Terminal window
# Start timer
atlcli jira worklog timer start PROJ-123
# Check active timer
atlcli jira worklog timer status
# Stop and log time
atlcli jira worklog timer stop
Terminal window
# Start with comment
atlcli jira worklog timer start PROJ-123 --comment "Starting code review"
# Stop with rounding
atlcli jira worklog timer stop --round 15m
# Cancel timer without logging
atlcli jira worklog timer cancel

Timer state is stored in ~/.atlcli/timer.json:

{
"issueKey": "PROJ-123",
"startTime": "2025-01-14T09:00:00Z",
"comment": "Working on feature"
}

Log time directly without using the timer:

Terminal window
atlcli jira worklog add PROJ-123 2h
atlcli jira worklog add PROJ-123 30m --comment "Bug investigation"
atlcli jira worklog add PROJ-123 1h --started "2026-01-14T09:00:00"

Options:

FlagDescription
--commentWork description
--startedStart time (defaults to now)
--roundRound time to interval

atlcli supports flexible time input formats:

FormatExampleDescription
Hours2h, 1.5hHours (decimal supported)
Minutes30m, 45mMinutes
Combined1h 30m, 1h30mHours and minutes
Days1dDays (= 8h by default)
Weeks1wWeeks (= 5d by default)
Full1w 2d 3h 4mAll units combined
Colon1:30Hours:minutes format
Verbose1 hour 30 minutesNatural language

For --started flag:

FormatExample
ISO 86012025-01-14T09:00:00
Date only2025-01-14 (assumes start of day)
Relativetoday, yesterday
Time only09:00, 14:30 (today)
Terminal window
# Various time formats
atlcli jira worklog add PROJ-123 1h30m
atlcli jira worklog add PROJ-123 1.5h
atlcli jira worklog add PROJ-123 "1 hour 30 minutes"
atlcli jira worklog add PROJ-123 1:30
atlcli jira worklog add PROJ-123 "1w 2d"
# Various date formats
atlcli jira worklog add PROJ-123 2h --started yesterday
atlcli jira worklog add PROJ-123 2h --started "2026-01-14T09:00:00"
atlcli jira worklog add PROJ-123 2h --started 09:00

Round logged time to common intervals:

Terminal window
# Round to 15 minutes
atlcli jira worklog add PROJ-123 37m --round 15m
# Result: 45m
# Round on timer stop
atlcli jira worklog timer stop --round 15m

Common rounding intervals:

IntervalDescription
5mRound to 5 minutes
15mRound to quarter hour
30mRound to half hour
1hRound to full hour

Rounding uses standard rounding rules (rounds up at midpoint).

View all worklogs on an issue:

Terminal window
atlcli jira worklog list --issue PROJ-123

Options:

FlagDescription
--issueIssue key (required)
--limitMaximum results
Terminal window
atlcli jira worklog update --issue PROJ-123 --id 10001 --time 3h
atlcli jira worklog update --issue PROJ-123 --id 10001 --comment "Updated description"
Terminal window
atlcli jira worklog delete --issue PROJ-123 --id 10001 --confirm

Generate a time report for a user across all issues:

Terminal window
# Current user, last 30 days (default)
atlcli jira worklog report
# Specific date range
atlcli jira worklog report --since 2026-01-01 --until 2026-01-14
# Specific user
atlcli jira worklog report --user john@example.com
# Group by issue or date
atlcli jira worklog report --group-by issue
atlcli jira worklog report --group-by date

Options:

FlagDescription
--userUser email or me (default: me)
--sinceStart date (default: 30 days ago)
--untilEnd date (default: today)
--group-byGroup results: issue or date
FormatExampleDescription
Relative days7d, 30dDays ago
Relative weeks1w, 2wWeeks ago
Relative months1m, 3mMonths ago
Absolute date2026-01-01Specific date
Relativetoday, yesterdayNamed dates

The report includes:

  • Summary: Total time, worklog count, issue count, average per day
  • Worklogs: List of all worklogs with issue key, summary, time, and comment
  • Grouping: Optional byIssue or byDate breakdown
Terminal window
atlcli jira worklog report --since 7d --json
{
"schemaVersion": "1",
"user": "Björn Schotte",
"dateRange": { "from": "2026-01-07", "to": "2026-01-14" },
"summary": {
"totalTimeSeconds": 5400,
"totalTimeHuman": "1 hour 30 minutes",
"worklogCount": 1,
"issueCount": 1,
"averagePerDay": "12 minutes"
},
"worklogs": [
{
"issueKey": "PROJ-123",
"issueSummary": "Implement feature",
"timeSpent": "1h 30m",
"timeSpentSeconds": 5400,
"started": "2026-01-14T09:00:00.000+0100",
"comment": "Initial work"
}
]
}

All worklog commands support --json for structured output:

Terminal window
atlcli jira worklog list --issue PROJ-123 --json
{
"schemaVersion": "1",
"worklogs": [
{
"id": "10001",
"author": "Alice",
"authorId": "557058:abc123",
"timeSpent": "2h",
"timeSpentSeconds": 7200,
"timeSpentHuman": "2 hours",
"started": "2026-01-14T09:00:00.000+0000",
"comment": "Initial investigation"
}
],
"total": 1
}
  1. Use timer mode - More accurate than manual entry
  2. Add comments - Describe what work was done
  3. Round consistently - Use same interval across team
  4. Log daily - Don’t let work accumulate
  5. Review reports - Track where time is spent
Jira and Confluence are trademarks of Atlassian Corporation Plc. atlcli is not affiliated with, endorsed by, or sponsored by Atlassian.