Вы здесь

Настройка статуса задачи в Мантисе

Добавляем новый статус TEST.
Файл custom_constant_inc.php:

<?php
define 
'TEST'60 );?>

файл custom_strings_inc.php

<?php$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:tested,80:resolved,90:closed';
$s_tested_bug_button = "Issue Ready to Test";
$s_tested_bug_title = "Set Issue Ready to Test";
$s_email_notification_title_for_status_bug_tested = "TESTED.";
?>

файл config_inc.php

<?php$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:tested,80:resolved,90:closed';
# Status color additions
$g_status_colors['tested'] = '#ACE7AE';

$g_access_levels_enum_string = '10:viewer,25:reporter,40:updater,55:developer,70:manager,90:administrator';

$g_status_enum_workflow[NEW_] = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:tested';
$g_status_enum_workflow[FEEDBACK] = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:tested';
$g_status_enum_workflow[ACKNOWLEDGED] = '20:feedback,30:acknowledged,40:confirmed,50:assigned,60:tested';
$g_status_enum_workflow[CONFIRMED] = '20:feedback,40:confirmed,50:assigned,60:tested';
$g_status_enum_workflow[ASSIGNED] = '20:feedback,50:assigned,60:tested,90:closed';
$g_status_enum_workflow[TEST] = '10:new,20:feedback,50:assigned,60:tested,80:resolved,90:closed';
$g_status_enum_workflow[RESOLVED] = '50:assigned,60:tested,80:resolved,90:closed';
$g_status_enum_workflow[CLOSED] = '50:assigned,90:closed';?>

Оригинал статьи http://www.mantisbt.org/forums/viewtopic.php?f=4&t=5896