Files
wekan/docs/Features/Cards/Time-Tracking.md
T
Lauri Ojansivu bfa0748518 Docs: Card features: what each feature is, how to use it, how its numbers are calculated, how it works, and its commits.
Scrum, Set color, Similar cards, Subtasks, Suggested members, Time
tracking, Watch and Star, Whiteboard, Cover image, Locations and Stickers
follow one structure. Corrected from the code: Filter: Subtasks is in the
Subtasks heading's hamburger, the whiteboard keeps the drawing's own size,
the card-field switches are in Admin Panel / Settings / Features, the map
links follow the chosen provider of eleven, Time tracking describes the
card's spent time and time by day, and Scrum now has native sprints.

Thanks to xet7 !
2026-11-22 18:30:01 +02:00

6.7 KiB

Time Tracking

What it is

Time tracking records how much time has been spent on a card. Each card has a Spent time (hours) total, an optional estimate, an Overtime flag and a Time by day log of who logged how many hours on which day. The total is what the Time view, Workload and Billing read; the Flowtime and Pomodoro timers add to it. External time trackers such as Titra and calendars through iCal can be used with WeKan too.

Read more

Titra

This was found 2020-05-20 at Time Tracking Wekan issue, thanks!

Titra Time Tracking, GPLv3

Wekan Integration:

iCal

https://github.com/wekan/wekan/issues/2836

https://github.com/wekan/wekan-ical-server

How to use it

Show the field on the board: Board sidebar (hamburger menu) → Board Settings → Card, row Spent time (hours): Show on Card and Show on Minicard.

Set the total, the estimate and the flags:

  1. Open the card. In the Time section, click the hamburger beside Spent time (hours) (Change spent time), or click the time badge.
  2. Enter Time in hours (decimals allowed, for example 1.5).
  3. Optionally fill in Estimated hours, and tick Billable and Overtime.
  4. Click Save. Delete clears the time and the Overtime flag.

Log time on a day:

  1. In the same popup, under Time by day, pick the Date, enter the Hours and an optional Note.
  2. Click Log time. The entry is listed with who logged it; your own entry can be removed with the trash icon until it is approved or invoiced.

The badge turns red when Overtime is ticked, green otherwise; with an estimate it reads like 1h30m / 4h.

How the numbers are calculated

  • Spent time is stored in decimal hours (spentTime in models/cards.js); a value below 0 is refused with Invalid time.
  • The badge shows it as a duration (models/lib/spentTimeFormat.js): the hours are rounded to whole seconds and split into days (24 h), hours, minutes and seconds, leaving out zero units - 12h34m56s, 1d2h, 0s. Its tooltip says Spent Time or Overtime, with the hours rounded to two decimals.
  • Estimated hours: 0 to 10,000, in steps of 0.25 in the popup; what is left is the estimate less the time spent.
  • Time by day (models/lib/timeEntries.js): an entry is more than 0 and at most 1,000 hours, on a YYYY-MM-DD date, with a note of at most 500 characters; hours are rounded to four decimals. Logging adds the hours to the card's total and removing one takes them off again. Any other change of the total - the popup, a timer, the REST API, an import - is recorded as an entry of that day for the difference, and time spent before entries were kept becomes one undated entry, once. The list shows the newest 500 entries.
  • A linked card shows, and changes, the time of the card it links to.

How it works in WeKan

Commits