プロジェクト

全般

プロフィール

Vote #79447

未完了

Add default spent time activity per role

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Time tracking_13
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
13
version_id:
32
issue_org_id:
29286
author_id:
107353
assigned_to_id:
0
comments:
8
status_id:
1
tracker_id:
2
plus1:
2
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Currently, you can set a default spent time activity for all users, regardless their role.

I find it more useful if we add a default activity for each role (and not for each user how is requested in #938) because an user can have different roles per projects. Maybe in one project I'm a developer and I want to have the "Development" activity as default, and in another project I've the "Manager" role and I want to have the "Project Management" activity as default.

If a role doesn't have a default activity, the global should be set as default if exists, otherwise blank.

Any feedback is welcome.


journals

--------------------------------------------------------------------------------
+1
This could really save time for many people and makes time tracking less tedious.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Attached is the patch that adds the option to define a default time entry activity for each role.

!{width:70%; border: 1px solid grey;}.default_role_time_entry.png!

Any feedback is welcome.
--------------------------------------------------------------------------------

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

I am using redmine 3.4.6. on bitnami, I apply the patch in the directory htdoc but once I redemare the service, access to the menu role hangs, I need this feature and thank you
--------------------------------------------------------------------------------

I am using redmine 3.4.6 on bitnami, although the patch did not work, I applied the changes manually and I had the following error, which should be corrected for the patch
\app\models\time_entry_activity.rb
I get the error of: undefined function punk which solves it with .sort.map(&:default_time_entry_activity_id)

Thank you!
--------------------------------------------------------------------------------


related_issues

relates,New,938,Add default Activity value per user
relates,New,7080,Alternate default activity in time logging

Admin Redmine さんが3年以上前に更新

  • カテゴリTime tracking_13 にセット
  • 対象バージョンCandidate for next major release_32 にセット

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

いいね!0
いいね!0