Defect #19121

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

Added by Toshi MARUYAMA almost 3 years ago. Updated 7 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Documentation
Target version:-
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 time New
Related to Redmine - Feature #25773: Add more custom fields types to criteria in time entries ... New

History

#1 Updated by Mischa The Evil almost 3 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.

#2 Updated by Toshi MARUYAMA over 2 years ago

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

#3 Updated by James Vreeken about 2 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...

#4 Updated by Toshi MARUYAMA about 2 years ago

#5 Updated by Mischa The Evil 7 months ago

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

#6 Updated by Mischa The Evil 7 months 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.

#7 Updated by Mischa The Evil 7 months ago

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

Also available in: Atom PDF