Page 1 of 1
Purging data
Posted: 29 Mar 2024, 20:55
by Phroobar
We have a business requirement to delete data older than 7 years. Is this feature built into Mantis BT or do I have to delete it directly from the database?
Re: Purging data
Posted: 29 Mar 2024, 21:54
by atrol
This feature is not built into MantisBT.
Instead of deleting it directly from the database via SQL (you have exactly to know what has to be deleted), you could also write some PHP code (check functiom bug_delete in bug_api.php), or use the REST API.
Re: Purging data
Posted: 31 Mar 2024, 07:18
by cas
A plugin is available since I have a similar requirement.
See here
https://github.com/mantisbt-plugins/Purger