Project

General

Profile

Actions

Defect #19121

open

Mismath of feature and documentation in activities (time tracking) custom field

Added by Toshi MARUYAMA almost 10 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

How to use custom field for activities ?

RedmineCustomFields says :

Data in time tracking activity custom fields can be used and/or will be displayed in the Timelog report and the Project settings. See also #4077 for some details about this nifty feature.

I don't know it is regression or wrong documentation.


Related issues

Related to Redmine - Feature #21061: Custom Field for Spent timeClosed

Actions
Related to Redmine - Feature #25773: Add more custom fields types to criteria in time entries reportNew

Actions
Actions #1

Updated by Mischa The Evil almost 10 years ago

  • Category changed from Custom fields to Documentation
Well, it is the documentation that is not specific enough. Time entry activity custom fields are available1 on the timelog report as available_criteria (source:/trunk/lib/redmine/helpers/time_report.rb@14042#L137), but only those that are of the boolean or list custom field format and where the list field format which has "multiple values" enabled is not included (source:/trunk/lib/redmine/helpers/time_report.rb@14042#L140).
Furthermore are time entry activity custom fields of all custom field formats (and without further restrictions) rendered on:
  • the administrative (global) time entry activity enumeration edit views;
  • the (per project) project settings views (to override the global values).

1 introduced with r2951 for #4077.

Actions #2

Updated by Toshi MARUYAMA over 9 years ago

I don't know it is related or not, #1766#note-30 says there is a regression.

Actions #3

Updated by James Vreeken about 9 years ago

I am also having this problem... we have a custom field called "Job Number" we would like to be able to create a report thru the tool that exports the week with time spent along with the job number... Its not working...

Actions #4

Updated by Toshi MARUYAMA about 9 years ago

Actions #5

Updated by Mischa The Evil over 7 years ago

  • Related to Feature #25773: Add more custom fields types to criteria in time entries report added
Actions #6

Updated by Mischa The Evil over 7 years ago

Toshi MARUYAMA wrote:

I don't know it is related or not, #1766#note-30 says there is a regression.

Toshi, I don't think there was a regression in Redmine 2.3.0 regarding this feature. Starting from Redmine 0.7 onward (which introduced custom fields as timelog report criteria), only boolean and list custom fields were included (see r1340). This behaviour hasn't changed over time (besides the addition of the exclusion of multiple-value enabled list custom fields).

See #25773 for a general feature request to add more custom field types as report criteria.

Actions #7

Updated by Mischa The Evil over 7 years ago

Btw: I have added a footnote to RedmineCustomFields wiki page (diff) with a reference to this issues note-1, for the time being.

Actions

Also available in: Atom PDF