Status problem

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Se7en
Posts: 16
Joined: 24 Jun 2010, 02:19

Status problem

Post by Se7en »

Hello everyone, i want to ask about the status in mantis.

This is the default
$s_status_enum_string = '10:new,20:restest,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed';

when i try add a new status
<?php
define ( 'FIX', 100 );
define ( 'RESOLVE', 110 );
define ( 'RETEST', 120 );
define ( 'KIV', 125 );
?>
the value more than 90 will like the closed status behaviour.Mean that it will give us a resolution drop down list when we assign to that particular status.

for example.

when i assign to FIX,click the change status to FIX,go to next view. on that view got resolution's drop down list.

if i try to design my custom_constant_inc like this
<?php
define ( 'RETEST', 60);
define ( 'FIX', 61 );
define ( 'RESOLVE', 62 );
define ( 'KIV', 63 );
?>

it wont show the resolution drop down list when i assign to retest,fix,resolve or kiv.

So can i ask how to remove the resolution drop down list when my custon_constant_inc like this
<?php
define ( 'FIX', 100 );
define ( 'RESOLVE', 110 );
define ( 'RETEST', 120 );
define ( 'KIV', 125 );
?>

is is possible?

thank you
mhonmon23
Posts: 76
Joined: 22 Sep 2010, 10:43

Re: Status problem

Post by mhonmon23 »

Just to clarify,

Your mantis already have data and those data is using the default $s_status_enum_string = '10:new,20:restest,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed';

And what you want now is to change the status value to :
define ( 'FIX', 100 );
define ( 'RESOLVE', 110 );
define ( 'RETEST', 120 );
define ( 'KIV', 125 );


Thanks
Post Reply