Project

General

Profile

Actions

Defect #10760

closed

Time logging via commit message - does not work

Added by Ivan Cenov over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Redmine trunk r9523
Ruby 1.8.7
Rails 2.3.14
"Enable time logging" = on

It seems that time logging via commit messages does not work (at least in my test installation).

I tried with

RTC #31 @1h10

and
RT #31 @1h15

Trying to log via commit message

(RT and RTC are my trigger keywords that are configured in Settings.Repositories.)

These commit messages appear "Associated revisions" in the issue (in my case #31), so it is clear that relations between the issue and the revisions had been created. No time log records are added though.

Time log created interactively in Redmine are recorded.

Actions #1

Updated by Ivan Cenov over 12 years ago

P.S.
Plugins:
  • Projects Tree View plugin
  • Redmine Banner plugin
  • Redmine Embedded Video
  • Redmine Issue Templates plugin
  • Redmine Light Box plugin
  • List duplicate views plugin
  • Redmine Local Avatars plugin
  • Redmine Theme Changer plugin
  • Redmine Wiki Gchart LaTeX-style Formula plugin
  • Redmine Wiki Notes plugin
  • Issues XLS export
  • Redmine Youtube wiki macro plugin
  • WikiNG
Actions #2

Updated by Ivan Cenov over 12 years ago

P.P.S.

Here is the log when accessing the repository to fetch the changesets.

Processing RepositoriesController#show (for 192.168.2.100 at 2012-04-24 22:32:09) [GET]
  Parameters: {"action"=>"show", "id"=>"first", "controller"=>"repositories"}
TimeEntry could not be created by changeset 30: User can't be blankActivity can't be blank
Rendering template within layouts/base
Rendering repositories/show
Completed in 1922ms (View: 609, DB: 47) | 200 OK [http://walker/projects/first/repository]

TimeEntry could not be created by changeset 30: User can't be blank Activity can't be blank

Actions #3

Updated by Jean-Philippe Lang over 12 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid
  • User can't be blank

The committer is unknown because you're not using the same usernames in your scm and in Redmine. You have to do the mapping in Project settings -> Repositories -> [Your repository] -> Users.

  • Activity can't be blank

You have to set a default time tracking activity (Administration -> Enumerations) or choose one that will be used when logging time via commit messages (Administrations -> Settings -> Repositories).

Hope this helps.

Actions

Also available in: Atom PDF