Page 1 of 1

Automatic change of status on reply

Posted: 16 Nov 2022, 15:29
by Rotiart
Hi All,

I've recently started working with Mantis (Version 2.25.5) and configured it in a way so that it's easier for our clients and developers (who are not used to a tool like this) to work with.

That included creating custom "Status" levels.

Our workflow is as follows:
New -> Assigned -> In Progress -> Awaiting Reply (if the developer has a question to the customer) -> Pushed to accept -> pushed to production -> resolved -> closed.

Now the "Awaiting reply" basically functions as the standard "feedback" but does not automatically get updated when the customer replies to the developers question. (Logical as I changed the name). Is there a way to change the way the original flow works without having the status "feedback" back? This was confusing to all users in our system. I am familiar with PHP, but hoping I don't have to change source code or spend a lot of time reading through the code to figure this out.

Is there a setting I am not seeing in the admin panel / config files?

Re: Automatic change of status on reply

Posted: 18 Nov 2022, 03:42
by amphetamine

Re: Automatic change of status on reply

Posted: 24 Nov 2022, 09:50
by Rotiart
Sorry, totally got caught up in the code and forgot to reply.
Via
/**
* Status to assign to the bug when assigned.
* @global integer $g_bug_assigned_status
*/
$g_bug_assigned_status = YOUR_CUSTOM_STATUS

and

/**
* Status to assign to the bug when assigned.
* @global integer $g_bug_assigned_status
*/
$g_bug_assigned_status = CUSTOMER_RESPONDED;

in the config_defaults_inc.php i was able to fix this.

Re: Automatic change of status on reply

Posted: 25 Nov 2022, 12:58
by cas
do not change config_defaults_inc.php but make your changes in core/config_inc.php, then those changes do not disappear with the next update :mrgreen:

Re: Automatic change of status on reply

Posted: 28 Nov 2022, 10:16
by Rotiart
Thanks! I'll probably have fun with the next update, haha