How to delete "history" in tickets?
Added by Reiner Lichtenberger 6 months ago
is it possible to delete history in database tables or deactivate it?
thx a lot RL
Replies (4)
RE: How to delete "history" in tickets?
-
Added by Reiner Lichtenberger 6 months ago
Environment:
Redmine version 4.1.1.stable
Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Git 2.17.1
Filesystem
Redmine plugins:
no plugin installed
RE: How to delete "history" in tickets?
-
Added by Andy Pack 4 months ago
Hi,
There is an existing feature for deleting comments history in the ticket. So you can delete all one by one.
Does it fit your needs?
Screenshot_70.png (211 KB) Screenshot_70.png |
RE: How to delete "history" in tickets?
-
Added by Reiner Lichtenberger 4 months ago
Hi, nope, it doesnt - I dont have that installed.
Can I delete it in the database?
Thx
RL
RE: How to delete "history" in tickets?
-
Added by Holger Just about 2 months ago
I'm not sure what you mean with "I dont have that installed". The ability to delete journal notes is part of Redmine and is available in all distributed Redmine versions. in your stated Redmine version 4.1, the abiloty to delete journal notes is available with the delete button in the journal header.
Note that deleting other parts of an issue's history (including the log of changed fields) is not supported. The journal is intended to be unchangable apart from the notes. Entirely disabling the journal is also not supported. Each change of an issue always creates a journal entry which is visible to all users who are allowed to view an issue. The only supported way to remove the journals of an issue is to delete the associated issue entirely.
(Please be aware that Redmine 4.1 is not supported anymore and has quite a long list of known security issues. You may want to upgrade to a newer version...)