Time estimation and tracking
This plugin supports time tracking by adding the following to Trac:
- A Tasks admin panel, where tasks can be created and assigned a time estimate.
- A Log admin panel, where users can log the time they spend on these tasks.
- A new permission
TIME_TRACKINGthat is required to use these panels.
- Two new database tables to store these tasks and log entries.
Trac's reporting module can be used to define various reports that summarize these tasks and log entries. For reporting purposes tasks can be grouped into projects and categories, and log entries can record a location.
Tasks are created and estimated per year.
There is no formal connection between tasks and tickets. Informally wiki-links to tickets can be entered in the task or log descriptions.
- Charts of burned up hours and activity per day using Chart.js.
- WeekPlanPlugin integration for calendar view of log entries.
width: Width of the chart. (Defaults to 1200.)
height: Height of the chart. (Defaults to 600.)
|-separated list of users. (Defaults to all users.)
|-separated list of categories. (Defaults to all categories.)
|-separated list of projects. (Defaults to all projects.)
|-separated list of tasks. (Defaults to all tasks.)
|-separated list of years. (Defaults to all years.)
activity. (Defaults to cumulative.)
Enable and register the
TimeTrackingWeekPlanEventProvider in your
trac.ini file under
[weekplan] event_providers, and use the WeekPlanPlugin to display log entries. Specify the plan as
If you have any issues, create a new ticket.
Download the zipped source from here.
Installation of the plugin requires the usual step with
- Trac 1.2:
- Trac 1.0:
Then enable it in Trac's plugin admin page or in your
[components] timetracking.* = enabled
A database upgrade will be required as usual:
trac-admin path-to-your-trac-environment upgrade
Assign the new
TIME_TRACKING_ADMIN permissions to the appropriate Trac groups / users, for example in Trac's permission admin page.
Optionally you can change some configuration options in your
trac.ini file to hide or rename certain fields. The defaults are:
[timetracking] year = True location = True location.label = Location category.label = Category project.label = Project
- 16139 by lucid on 2016-12-21 21:20:36
TimeTrackingPlugin: Bump version to 1.2
- 16133 by rjollos on 2016-12-21 19:56:08
TimeTrackingPlugin: tag version 1.1
The version is compatible with Trac 1.0.
- 16112 by lucid on 2016-12-18 16:06:46
TimeTrackingPlugin: Trac 1.3 compatible DB upgrades.
Since trac:ticket:11901 we would have to use
Since trac:ticket:11512 we can use
create_tableshelper to simplify this.
Tasks-Panel.png (64.6 KB) - added by 3 years ago.
Example screenshot of the Tasks panel
Log-Panel.png (47.2 KB) - added by 3 years ago.
Example screenshot of the Log panel
Example-Report.png (41.2 KB) - added by 3 years ago.
Example screenshot of a report
Example-Chart.png (19.3 KB) - added by 3 years ago.
Example sceenshot of the chart macro
Download all attachments as: .zip