Page 1 of 1

How to correctly reopen an issue in a plugin

Posted: 18 Jan 2026, 10:14
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?