Added by Daniel S over 4 years ago
Hello,
I need to delete Tickets on my Redmine after they are closed for a certain time, for example 2 years.
They should completely be removed from the DB.
Is there any plugin or setting that can help me to achieve this requirement?
KR
Daniel
I don't know about any plugin to do it.
But, what about a cron job executating rails command everyday?
Rude example :
> cd /the/path/redmine > rails c > Issue.where("closed_on < '2019-08-01 00:00:00'").delete