プロジェクト

全般

プロフィール

Vote #78041

完了

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

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Time tracking_13
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
13
version_id:
119
issue_org_id:
24577
author_id:
107353
assigned_to_id:
1
comments:
18
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

The attached patch adds the following changes:

a new tab in the application settings named "Time tracking"

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:

  • #4885
  • #12236
  • #19813
  • #24049

!time_tracking_settings.png!


journals

Attached the correct patch.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

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

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
There are many duplicate issues, many people longing for this feature.
Setting target version to 3.4.0.
--------------------------------------------------------------------------------
Patch committed, thanks. It's a nice addition.
--------------------------------------------------------------------------------
Hello, this is a very good addition, i tried to apply the patch but my company is argentitnian so we have the spanish version, can anybody help me?, because this patch modify the *en*.yml file and in my case i have to modify the *ES*.yml file.

I can't wait until the 3.4 version comes...

i have redmine 3.2.2 so, i wait for your answer.

PD: it will be perfect if the patch allows to choose witch type of issue i want to make it mandatory..

If anybody can make the patch for redmine 3.2.2 spanish version and allows me to choose the type of issue i want to make it mandatory i will apreciate it so much.

Thanks a lot i wait for your answers

(Sorry for my english)
--------------------------------------------------------------------------------
I tried to apply the patch in a version @3.2.5-1@ (Since I can't just upgrade to 3.4)
<pre>
/home/redmine/redmine$ patch -p1 < settings_to_make_issue_id_comment_fields_mandatory_v2.patch
</pre>

But I have 3 fails:

<pre>
patching file app/helpers/settings_helper.rb
patching file app/models/time_entry.rb
patching file app/views/settings/_timelog.html.erb
patching file app/views/timelog/_form.html.erb
Hunk #1 FAILED at 12.
1 out of 1 hunk FAILED -- saving rejects to file app/views/timelog/_form.html.erb.rej
patching file config/locales/en.yml
Hunk #1 FAILED at 448.
1 out of 1 hunk FAILED -- saving rejects to file config/locales/en.yml.rej
patching file config/settings.yml
Hunk #1 FAILED at 279.
1 out of 1 hunk FAILED -- saving rejects to file config/settings.yml.rej
patching file test/unit/time_entry_test.rb
</pre>

Is it supposed to be applyable on a @3.2.5-1@ version ?
--------------------------------------------------------------------------------
Pierre de LESPINAY wrote:
> Is it supposed to be applyable on a @3.2.5-1@ version ?

No, it was never tested against 3.2.* or 3.3.* versions.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,28110,Don't allow reassigning reported hours to the project if issue is a required field for time logs
duplicates,Closed,4885,Option to make time log comments field mandatory
duplicates,Closed,12236,Option to make Comment field required
duplicates,Closed,19813,Spent time comment mandatory
duplicates,Closed,24049,Records in table time_entries with null value at field issue_id
duplicates,Closed,2196,Do not save @time_entry if comment/hour is nil
duplicates,Closed,11039,Disable time tracking for projects
duplicates,Closed,4690,Make it configurable to make the issue number mandatory when booking hours
duplicates,Closed,29287,Log time allows pushing time entries without specifying any issue number

Admin Redmine さんが約4年前に更新

  • カテゴリTime tracking_13 にセット
  • 対象バージョン3.4.0_119 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0