Keeping tracks of deleted bugs...

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
scubdive
Posts: 3
Joined: 24 Nov 2009, 17:10

Keeping tracks of deleted bugs...

Post by scubdive »

Hi,

Is there anyway to keep tracks of who deleted a bug on mantis?
Maybe there is a file keeping logs of events done by mantis users????

Thanks in advance.
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Keeping tracks of deleted bugs...

Post by atrol »

What you could do is to disable other users than administrators to delete an issue.
This can be done with the management page.
You will have to tell your users that they have to assign this issue to you with a note to remove it.

or if this enough, you can configure that you are notified by mail when a bug has been deleted.
Search ine the documentation for
$g_default_notify_flags
$g_notify_flags

Developing a plugin for MantisBT 1.2 should be possible in a clean way without tweaking existing code.
There is an event EVENT_BUG_DELETED where you could do whatever you want (maybe storing some information in database or file)

For MantisBt 1.1 you could write a custom function
have a look at
http://www.mantisbt.org/manual/manual.c ... ctions.php
especially custom_function_default_issue_delete_validate
Please use Search before posting and read the Manual
Post Reply