summaryrefslogtreecommitdiff
path: root/doc/time-tracking.markdown
blob: a8444b5d4d21cc9b5fd062b0b7000fb85d870563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Time Tracking
=============

Time tracking information can be defined at the task level or at the subtask level.

Task time tracking
------------------

![Task time tracking](https://kanboard.net/screenshots/documentation/task-time-tracking.png)

Tasks have two fields:

- Time estimated
- Time spent

These values represent hours of work and have to be set manually.

Subtask time tracking
---------------------

![Subtask time tracking](https://kanboard.net/screenshots/documentation/subtask-time-tracking.png)

Subtasks also have the fields "time spent" and "time estimated".

When you change the value of these fields, **the task time tracking values are updated automatically and becomes the sum of all subtask values**.

Kanboard records the time between each subtask status change in a separate table.

- Changing subtask status from **todo** to **in pogress** logs the start time
- Changing subtask status from **in progress** to **done** logs the end time but also update the time spent of the subtask and the task

The breakdown of all records is visible in the task view page:

![Task timesheet](https://kanboard.net/screenshots/documentation/task-timesheet.png)

For each subtask, the timer can be stopped/started at any time:

![Subtask timer](https://kanboard.net/screenshots/documentation/subtask-timer.png)

- The timer doesn't depend of the subtask status
- Each time you start the timer a new record is created in the time tracking table
- Each time you stop the clock the end date is recorded in the time tracking table
- The calculated time spent is rounded to the nearest quarter