Project

General

Profile

Actions

Feature #29286

closed

Add default spent time activity per role

Added by Marius BĂLTEANU over 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Time tracking
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

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.


Files


Related issues

Related to Redmine - Feature #938: Add default Activity value per userNew2008-03-27

Actions
Related to Redmine - Feature #7080: Alternate default activity in time loggingNewJean-Philippe Lang2010-12-08

Actions
Related to Redmine - Feature #14983: Default Activity per Issue TrackerNew

Actions
Related to Redmine - Feature #573: Spend time and Activity enhancementNew

Actions
Actions #1

Updated by Marius BĂLTEANU over 5 years ago

  • Related to Feature #938: Add default Activity value per user added
Actions #2

Updated by Bernhard Rohloff over 5 years ago

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

Actions #3

Updated by 彥丞 陳 over 5 years ago

+1

Actions #4

Updated by Marius BĂLTEANU over 5 years ago

  • Related to Feature #7080: Alternate default activity in time logging added
Actions #5

Updated by Marius BĂLTEANU over 5 years ago

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

Any feedback is welcome.

Actions #6

Updated by Go MAEDA over 5 years ago

  • Target version set to Candidate for next major release
Actions #7

Updated by ciel ciel over 5 years ago

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

Actions #8

Updated by Gerardo Schild over 5 years ago

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!

Actions #9

Updated by Mizuki ISHIKAWA over 1 year ago

I think this feature very useful.
I have made changes so that I can apply the patch to the latest code.

Main Changes:
Actions #10

Updated by Go MAEDA over 1 year ago

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

Setting the target version to 5.1.0.

Actions #11

Updated by Go MAEDA over 1 year ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you all for your contribution.

Actions #12

Updated by Go MAEDA 12 months ago

Actions #13

Updated by Go MAEDA 11 months ago

  • Related to Feature #573: Spend time and Activity enhancement added
Actions

Also available in: Atom PDF