Some Time Tracking Updates

October 8th, 2009

For those of you who have time tracking enabled on your projects, we have just rolled out a number of changes to time tracking.

Powerful Commit Messages

We have added a few time tracking related actions to our Powerful Commit Messages. It is now possible to specify how many hours you have spent on a ticket using the following syntax:

  > svn commit -m 'spent 5.5 hours on #498'
  > svn commit -m 'resolved #47 spending 2:45 on #47'
  > git commit -am 'worked 3 hours on #99'

The keywords that will trigger the creation of a time entry are: spend, spent, spending, invest, invested, investing, work, worked, working.

Please note that the ticket number must always be specified in association with one of the above keywords and they must always be separated by either the word "on" or "hours on" (i.e. "5:30 on #43" or "5.5 hours on #43").

Time Entry on Ticket Resolution

When resolving a ticket, it is often necessary to create a time entry representing the work you put in to close the ticket. Previously, this was a 2-step process. Now, you can simply specify the amount of time spent resolving a ticket right from the ticket resolution form.

Time Entry on Ticket Resolution

Additionally, as you may have noticed from above, it is now possible to use a more natural ":" separated notation everywhere you enter hours. For instance, instead of having to write 10 minutes as "0.1666", it is now possible to simply write "0:10".