How to correctly reopen an issue in a plugin

General discussion about MantisBT Plugins

Moderators: Developer, Contributor

Post Reply
raspopov
Posts: 8
Joined: 12 Dec 2024, 15:34
Contact:

How to correctly reopen an issue in a plugin

Post by raspopov »

Hey!

I am developing a plugin that, among other things, should reopen issues. Looking at the code base, I have some doubts... For example, the “bug_api.php” file contains a “bug_reopen()” function ... that is not used anywhere else. The bug tracker itself reopens bugs in one large “bug_update.php” file used for all possible issue changes, and this is the only place where the ‘EVENT_UPDATE_BUG’ event is sent (this event is not triggered via SOAP). :?

What is the correct and modern way to change the status of a bug? What should happen when a bug is updated?
Post Reply