Feature #16188

Mark project categories as "inactive"

Added by Tobias Fischer over 7 years ago. Updated about 1 month ago.

Status:NewStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Project settings
Target version:-
Resolution:

Description

It would be nice to have the possibility to mark categories in a project as "inactive".

Deleting is not an option, as the old and closed tickets won't show the category anymore.
Leaving the category as is isn't an option either, as the customers can still add new tickets to this, maybe deprecated, category.

Therefore one should be able to mark a category in a project as "archived" or "inactive" to keep the category name but prevent users adding new tickets to this category.

2021-09-25-133700-archive_issue_categories.patch Magnifier (12.2 KB) Thomas Zauner, 2021-09-25 13:38


Related issues

Related to Redmine - Feature #21577: The version should get a status archived like projects New
Related to Redmine - Patch #35946: Mark project categories as "inactive" New
Duplicated by Redmine - Feature #16997: Allow to lock categories Closed

History

#1 Updated by dj jones about 7 years ago

This 10-day old plugin is an attempt to meet this need: and has two users giving it 5-stars already

http://www.redmine.org/plugins/redmine_archive_issue_categories

#2 Updated by Tobias Fischer about 7 years ago

Yes, I'm the plugin author ;-) However, I would rather like to see this implemented in redmine core than having this as a plugin...

#3 Updated by Lajish Lakshmanan about 7 years ago

Tobias Fischer wrote:

Yes, I'm the plugin author ;-) However, I would rather like to see this implemented in redmine core than having this as a plugin...

+1

#4 Updated by Sepp _ over 6 years ago

+1

Thanks anyway for the plugin!

#5 Updated by Robert Korulczyk about 6 years ago

+1

Similar: #16997

#6 Updated by Toshi MARUYAMA about 6 years ago

#7 Updated by Toshi MARUYAMA about 6 years ago

#8 Updated by Toshi MARUYAMA about 6 years ago

#9 Updated by Thomas Zauner 2 months ago

This feature would be really useful. In redmine 4.x the old plugin from T. Fischer stopped working (it breaks the context menu styles and entries).
See #35813

Would be nice, if redmine supports disabling old (not to be used) categories.

#10 Updated by Mischa The Evil 2 months ago

  • Related to Feature #21577: The version should get a status archived like projects added

#11 Updated by Thomas Zauner about 1 month ago

Hello, based on the outdated plugin I tried to integrate the changes into current git master, tested the UI with a running server and created some unit tests.

The plugin was running fine with redmine 3.x, but for redmine 4 the overwritten files had changed so the UX got broken and also the routes needed to be fixed (since this seems new with redmine 4.x).

I'm not 100% sure if the version in migration is right (6.1?) and if the config/routes.rb is properly since I'm not really into ruby/rails dev (so sorry if this is not proper coded). I mainly ported the plugin into the source. For me the code worked incl. routing and it provided same functionally than the old redmine plugin.
Tests were green beside one search test (Must be superuser to create this extension).

If the code/patch needs adaption, please let me know.

Shall I create a new issue, or will this issue be updated to tracker "patch"?

#12 Updated by Bernhard Rohloff 25 days ago

  • Related to Patch #35946: Mark project categories as "inactive" added

Also available in: Atom PDF