Movatterモバイル変換


[0]ホーム

URL:


Trac Hacks
wiki:TracHoursPlugin

Context Navigation


Contents

  1. Description
  2. Components
    1. TracHoursPlugin
    2. SetupTracHours
    3. TracHoursRoadmapFilter
    4. TracHoursSidebarProvider
    5. TracHoursByComment
    6. MultiprojectHours
  3. Bugs/Feature Requests
  4. Download
  5. Source
  6. Installation
  7. Recent Changes
  8. Author/Contributors

Track hours spent on tickets

Description

This plugin helps to keep track of hours worked on tickets. This is an alternative toTimingAndEstimationPlugin, but with a different approach:

  • Instead of adding hours only via ticket fields, there is a separate view for managing ticket hours./hours/<ticket number> displays the accrued hours for a particular ticket with a timeline-like view, but should also allow adding of new hours (by default, on "today", but this should be changeable via dropdown menus for day, month, year, etc), editing previously entered hours (amount, date, description) and deleting previously allotted hours if you have the appropriate permissions (TICKET_ADD_HOURS for your own hours,TRAC_ADMIN for the hours of others).
  • A management and query view is at/hours. This view displays the hours for all tickets for a given time period (last week, by default) in a way that combines the query interface for querying tickets and the timeline display for hours on the tickets in the time period. Query filters are available to find hours for people, hours for tickets of a certain component, etc.
  • Hours are uniquely assigned to tickets and people.
  • Hours may have a description, which should be displayed in the applicable views; if a description is provided, the hours and description are logged to ticket comments.
  • Tickets have links to/hours/<ticket number> as the total hours field so that a user can add and view hours for the ticket.

Hour tracking and estimation is most useful for the following types of questions:

  • How much time has been spent on a project?
  • How much time remains in a budget (estimate for a project)?
  • How much time have we committed to for the next time period?
  • How much time is a developer committed to over the next time period?

If we put hour estimates on tickets, assign tickets to people, associate tickets with milestones, and give milestones due dates, TracHours can generate reports to answer those questions.

TheTracHoursHowto offers a guide to the features of theTracHoursPlugin and how to use them.

For other Trac time-tracking solutions, seet:TimeTracking.

Components

TracHours consists of a number of components that work together to help track time:

TracHoursPlugin

TracHoursPlugin is the core component of TracHours.

This component must be enabled to use theTracHoursPlugin functionality.

SetupTracHours

SetupTracHours sets up the database and custom fields for theTracHoursPlugin. You must enable this component for anything to work, including theTracHoursPlugin component.

TracHoursRoadmapFilter

TracHoursRoadmapFilter adds hours information for milestones at/roadmap and/milestone/<milestone name>

TracHoursSidebarProvider

TheTracHoursSidebarProvider component uses theTicketSidebarProviderPlugin (if enabled) to add a form to each ticket for direct addition of hours to the ticket. Hours will be logged as the authenticated user and comments will not be made.

TracHoursByComment

TheTracHoursByComment component enables adding hours by ticket comments. Comments containing snippets like5 hours,1 hour,3.7 hours, or0:30 hours will be added to the total hours for the ticket, provided the commenter has theTICKET_ADD_HOURS permission.

MultiprojectHours

TheTracHoursPlugin exportsRSS from the/hours handler. This has been utilized to provide hours reports across projects sharing the same parent directory. Iftrachours.multiproject is enabled, then/hours/multiproject will become a handler front-ending hours reports throughout the project and a link to this will appear on the/hours page to/hours/multiproject.

The multiproject report breaks down hours by project and worker giving row and column totals. If there are no hours for a project, then that project will not be shown.

screenshot for of the /hours/multiproject  page for two projects and one worker (k0s)

Bugs/Feature Requests

Existing bugs and feature requests forTracHoursPlugin arehere.

If you have any issues, create anew ticket.

defect

84 / 94

enhancement

17 / 39

task

7 / 8

Download

Download the zipped source fromhere.

Source

You can check outTracHoursPlugin fromhere using Subversion,orbrowse the source with Trac.

Installation

This plugin requires Python at least 2.4 as well as the following components:

Additionally, you will require on your server:

  • DateUtil, or packagepython-dateutil on Debian based systems.
  • FeedParser, or packagepython-feedparser on Debian based systems.

General instructions on installing Trac plugins can be found on theTracPlugins page. Then also ensure the following steps are performed:

  • Enable the plugin, by using either the webadmin interface or adding the following lines to yourtrac.ini file:
    [components]trachours.*=enabled
  • You will need to upgradetrac-admin <env> upgrade to create the correct database tables.
  • Give users the permissionTICKET_ADD_HOURS.

Recent Changes

17874 byrjollos on 2020-11-18 08:17:17
TracHours 0.7.4dev: Removeipnr attribute from query

Theipnr attribute was removed in Trac 1.3.1
(trac:#11901)

Refs#13907.

17873 byrjollos on 2020-11-18 08:10:55
TracHours 0.7.4dev: Fix dependencies

Refs#13907.

17388 byemecas on 2019-06-26 00:30:13
TracHours 0.7.4dev: Apply review
(more)

Author/Contributors

Originally developed atThe Open Planning Project.

Authors:novalis,k0s
Maintainer:EmeCas
Contributors:

Last modified8 years agoLast modified on Sep 11, 2017, 8:53:44 AM

Attachments(2)

Download all attachments as:.zip

Download in other formats:


Trac Powered

Powered byTrac 1.2.6
ByEdgewall Software.


[8]ページ先頭

©2009-2025 Movatter.jp