Version 13 (modified by 9 years ago) (diff) | ,
---|
Contents
Agilo Ticket Report Plugin
Notice: This plugin is unmaintained and available for adoption.
Description
Agilo is a nice scrum process tools base on Trac. Every task ticket has an estimation time(hours), the team manager wants to know exactly the real working time compared with estimated time. That is a metric of team member's working efficiency, so I developed this plugin for Agilo.
Thanks to the Agilo developers for sharing this tool.
Solution
There is table named "ticket_change" in database make records of every ticket changes. So we can do data mining in current 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 "pending" status for ticket, if you do not want to add "pending" status, it also works.
Why add "pending" status ?
Sometime, we may accept several tickets at one time in a sprint, we could not resolve tickets at same time, or some tickets may block by our customers. So, if we want to calculate the exactly working time, we must add the "pending" status:
Although standard process is O --> As --> A --> C --> R --> A --> C
, but there are still some tickets 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.
Download
Download the zipped source from [download:agiloticketreportplugin here].
Source
You can check out AgiloTicketReportPlugin from here using Subversion, or browse the source with Trac.
Installation
- Download latest pyExcelerator library and install it. pyExcelerator is an open source Python excel library.
- Configure
TicketReport\AgiloTicketReport\ticketreport.py line 35
if you use single project # just left PROJECT_NAME_PREFIX empty
PROJECT_NAME_PREFIX = ""
else # use multiple projects
for example:
# http://[ip]:[port]/projects/[PROJECT_NAME]
PROJECT_NAME_PREFIX = "projects"
- Working time time set up (optional)
TicketReport\AgiloTicketReport\gethours.py line 12 start time and end time of working day, and holiday configuration trac.ini:
[ticket-workflow] + 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
Example
Web UI:
Generated Excel Report:
Recent Changes
Author/Contributors
Author: todjiang
Maintainer: none
Contributors:
Attachments (5)
- ticket_report_r16_01.PNG (96.6 KB) - added by 15 years ago.
- ticket_report_flow.JPG (22.1 KB) - added by 15 years ago.
- ticket_report_r16_02.PNG (67.9 KB) - added by 15 years ago.
- ticket_report.PNG (67.9 KB) - added by 15 years ago.
- ticket_flow_chart2.PNG (31.8 KB) - added by 15 years ago.
Download all attachments as: .zip