views:

173

answers:

1

Hi,

Is there a way to "Undelete" an issue which was deleted?

The developer thought it was a duplicate issue, but instead of closing it as "Duplicate" it was deleted. But the issues contains some "notes" which are useful.

Thanks.

+2  A: 

Looking at the Mantis code, I see some inserts on to a table called mantis_bug_history_table whenever a modification/deletion happens to bugs.

But unfortunately the bug text doesn't seem to be archived :|

Wthout a backup of the db it might be impossible to recover.

Another thing is you shouldn't have the delete option turned on in your Mantis workflow for anyone especially a developer.

You can change that by logging on to Mantis as admin. Then navigate to Manage -> Manage Configuration-> Workflow Thresholds, uncheck all roles for "Delete an Issue" and save your changes. This is for future reference.

Pradeep