Make activity type project dependant instead of redmine global
At this moment, the activity types are set global for al Redmine projects.
We have different types, order numbers, etc per project which would make the global list of types too large and the majority of the list items irrelevant for each separate project.
Redline already allows to set project specific issue categories and versions, so having the same functionality for activity types would be hugely appreciated.
#5 Updated by Jérôme BATAILLE 10 months ago
Hi, we have developed a patch that is a generalization of Categories sharing.
It can be used to add new time entries custom fields.
I think it can reply to the need expressed here.
You can check it here :
#6 Updated by Andreas Baumgärtner 4 months ago
- File redmine_enumerations_activities.jpg added
hi,might have a similar topic at hand but could not easily releate activity type to redmine ui terms
- [trackers] can be defined per project
- [issue statuses] can be defined per project through workflows
- [enumerations] / Activities (time tracking) can be defined per project (internally a global list, but selectable values per project on respective project settings tab / time tracking) - it's not the best solution but doable
maybe this helps ...
screenshot activities (time tracking) from v4.1.0
#8 Updated by Josh Nijenhuis 2 months ago
We just need a default in the Project->Setting->Time Tracking:Default value column like there is in the Enumerations...
looks like db is already set up for it...
currently it looks like when disabling activity on project it inserts record for that activity and references the project_id field...
so its half way there?
so maybe just insert record similar to active for is_default per project
# id, name, position, is_default, type, active, project_id, parent_id, position_name '46', 'Development', '7', '1', 'TimeEntryActivity', '1', '46', '9', NULL