Feature #24577

Settings to make the issue and/or comment fields mandatory for time logs

Added by Marius BALTEANU 4 months ago. Updated 2 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Time tracking
Target version:3.4.0
Resolution:Fixed

Description

The attached patch adds the following changes:
  1. a new tab in the application settings named "Time tracking"
  2. new settings to make the issue and/or comment fields mandatory for time logs. By default, the new settings are off in order to not change the current behaviour.
The patch implements the following tickets:

time_tracking_settings.png (44.1 KB) Marius BALTEANU, 2016-12-11 01:19

settings_to_make_issue_id_comment_fields_mandatory.patch Magnifier (4.56 KB) Marius BALTEANU, 2016-12-11 02:12

settings_to_make_issue_id_comment_fields_mandatory_v2.patch Magnifier (5.05 KB) Marius BALTEANU, 2016-12-11 02:21


Related issues

Duplicated by Redmine - Feature #4885: Option to make time log comments field mandatory Closed 2010-02-20
Duplicated by Redmine - Feature #12236: Option to make Comment field required Closed
Duplicated by Redmine - Feature #19813: Spent time comment mandatory Closed
Duplicated by Redmine - Defect #24049: Records in table time_entries with null value at field is... Closed
Duplicated by Redmine - Patch #2196: Do not save @time_entry if comment/hour is nil Closed 2008-11-15
Duplicated by Redmine - Feature #11039: Disable time tracking for projects Closed
Duplicated by Redmine - Feature #4690: Make it configurable to make the issue number mandatory w... Closed 2010-01-29

Associated revisions

Revision 16176
Added by Jean-Philippe Lang 2 months ago

Adds settings to make the issue and/or comment fields mandatory for time logs (#24577).

Patch by Marius BALTEANU.

Revision 16177
Added by Jean-Philippe Lang 2 months ago

Adds :setting_timelog_required_fields string to locales (#24577).

History

#1 Updated by Marius BALTEANU 4 months ago

Attached the correct patch.

#2 Updated by Go MAEDA 4 months ago

  • Duplicated by Feature #4885: Option to make time log comments field mandatory added

#3 Updated by Go MAEDA 4 months ago

  • Duplicated by Feature #12236: Option to make Comment field required added

#4 Updated by Go MAEDA 4 months ago

#5 Updated by Go MAEDA 4 months ago

  • Duplicated by Defect #24049: Records in table time_entries with null value at field issue_id added

#6 Updated by Go MAEDA 4 months ago

  • Target version set to Candidate for next major release

This is a long awaited feature. There are at least 4 duplicate issues.
The patch works fine for me.

#7 Updated by Go MAEDA 4 months ago

  • Duplicated by Patch #2196: Do not save @time_entry if comment/hour is nil added

#8 Updated by Go MAEDA 4 months ago

  • Duplicated by Feature #11039: Disable time tracking for projects added

#9 Updated by Go MAEDA 3 months ago

  • Duplicated by Feature #4690: Make it configurable to make the issue number mandatory when booking hours added

#10 Updated by Go MAEDA 3 months ago

  • Target version changed from Candidate for next major release to 3.4.0

There are many duplicate issues, many people longing for this feature.
Setting target version to 3.4.0.

#11 Updated by Jean-Philippe Lang 2 months ago

  • Tracker changed from Patch to Feature
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Patch committed, thanks. It's a nice addition.

Also available in: Atom PDF