Purging data
Moderators: Developer, Contributor
Purging data
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
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.
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
A plugin is available since I have a similar requirement.
See here https://github.com/mantisbt-plugins/Purger
See here https://github.com/mantisbt-plugins/Purger