Agilo Ticket Report Plugin


Agilo is a Scrum process tool based on Trac. Every task ticket has an estimation time (measured in hours) and in a typical use case the team manager wants to know the actual working time compared with the estimated working time. That would be a metric of team member's working efficiency, so I developed this plugin for Agilo.

Thanks to the Agilo developers for sharing this tool.


There is a table named "ticket_change" in the database that records every ticket change. So we can perform data mining in the Trac Database:

  • Real working hours = ticket closed time - ticket accept time - none working time
  • Working time = from 9:00 to 18:00 (exactly 9 hour including 1 hour lunch time) from Monday to Friday
  • None working time = from 18:00 to next day 09:00 of working days, Sat, Sun, Holidays (manually configurable)

Ticket Work Flow

Add a "pending" status for tickets. If you do not want to add "pending" status, it works equally well.

Why add "pending" status? Sometime, we may either accept several tickets at one time in a sprint, or we could not resolve tickets at same time, or some tickets may be blocked by our customers. In that case, if we want to calculate the exact working time, we must add the "pending" status:

Although the standard process is O --> As --> A --> C --> R --> A --> C, there are still some tickets that do not follow the rule.

  • line1 = t1
  • line2 = t2
  • line3 = t3 + t4 + t5
  • line4 = t3 + t4 + t6
  • line5 = t3 + t4 + t7

Bugs/Feature Requests

Existing bugs and feature requests for AgiloTicketReportPlugin are here.

If you have any issues, create a new ticket.


2 / 2


1 / 1


Download the zipped source from here.


You can check out AgiloTicketReportPlugin from here using Subversion, or browse the source with Trac.


  1. Download the latest pyExcelerator library and install it. pyExcelerator is an open source Python Excel library.
  1. Configure

TicketReport\AgiloTicketReport\ line 35

if you use single project: # just leave PROJECT_NAME_PREFIX empty


else # use multiple projects

for example:

# http://[ip]:[port]/projects/[PROJECT_NAME]


  1. Working time time set up (optional):

TicketReport\AgiloTicketReport\ line 12 start time and end time of working day, and holiday configuration trac.ini:

+ pending = new,assigned,accepted,reopened -> pending
+ pending.permissions = TICKET_MODIFY
- resolve = new,assigned,accepted,reopened -> closed
- accept = new,assigned,accepted,reopened -> accepted
+ resolve = new,assigned,accepted,reopened,pending -> closed
+ accept = new,assigned,accepted,reopened,pending -> accepted


Web UI:

Generated Excel Report:

Recent Changes

6587 by todjiang on 2009-09-23 13:27:24
add "pending" status for ticket
6581 by todjiang on 2009-09-22 07:45:06
add milestone add query condition and only show running, closed backlogs
6578 by todjiang on 2009-09-21 19:20:02
move agilo ticket report plugin to trac-hacks


Author: todjiang
Maintainer: none (needsadoption)

Last modified 12 months ago Last modified on Nov 12, 2015, 5:48:47 PM

Attachments (5)

Download all attachments as: .zip