Automatic change of status on reply

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Rotiart
Posts: 2
Joined: 14 Nov 2022, 15:53

Automatic change of status on reply

Post 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?
Rotiart
Posts: 2
Joined: 14 Nov 2022, 15:53

Re: Automatic change of status on reply

Post 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.
cas
Posts: 1325
Joined: 11 Mar 2006, 16:08
Contact:

Re: Automatic change of status on reply

Post 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:
Post Reply