I had installed Mantis 1.2.8 Version and tried customize some status values.
Requirement:
Want to add few more values for "Status"
Could anybody help me, how to do it please...
Regards,
Phani
Moderators: Developer, Contributor
atrol wrote:http://docs.mantisbt.org/master-1.2.x/en/administration_guide.html#ADMIN.CUSTOMIZE.STATUS
Never change this file, use config_inc.php for such kind of customizationsHockeytown wrote:\manitsbt\config_defaults_inc.php
Never change this file, use custom_strings_inc.php for such kind of customizationsHockeytown wrote:\mantis\lang\strings_english.txt
Never change this file, use custom_constants_inc.php for such kind of customizationsHockeytown wrote:\mantis\core\constant_inc.php
Removing statuses is possible.Hockeytown wrote:When adding/removing Statuses are there any other files affected? Anything else I should be aware of when doing this?
$g_hide_status_default = CLOSED;
$g_bug_submit_status = NEW_;
$g_bug_assigned_status = ASSIGNED;
$g_bug_reopen_status = FEEDBACK;
$g_bug_feedback_status = FEEDBACK;
$g_bug_readonly_status_threshold = RESOLVED;
$g_bug_resolved_status_threshold = RESOLVED;
$g_bug_closed_status_threshold = CLOSED; # --- additional stati ---
$g_status_enum_string =
'10:new,20:reopened,30:confirmed,40:deferred,50:assigned, 60:to be tested,80:resolved,90:closed';
$g_status_colors = array( 'new' => '#ffa0a0', # red,
'reopened' => '#ff50a8', # purple
'confirmed' => '#ffffb0', # yellow
'deferred' => '#ffd850', # orange
'assigned' => '#c8c8ff', # blue
'to be tested' => '#ace7ae', // green
'resolved' => '#cceedd', # buish-green
'closed' => '#e8e8e8'); # light gray
# Status Settings
$g_hide_status_default = CLOSED;
$g_bug_submit_status = NEW_;
$g_bug_assigned_status = ASSIGNED;
$g_bug_reopen_status = REOPENED;
$g_bug_feedback_status = ASSIGNED;
$g_bug_readonly_status_threshold = RESOLVED;
$g_bug_resolved_status_threshold = RESOLVED;
$g_bug_resolution_fixed_threshold = RESOLVED;
$g_bug_resolution_not_fixed_threshold = UNABLE_TO_DUPLICATE;
# workflow definition
$g_status_enum_workflow[NEW_] = '20:reopened,30:confirmed,40:deferred,50:assigned,60:to be tested';
$g_status_enum_workflow[REOPENED] = '10:new,30:confirmed,40:deferred,50:assigned,60:to be tested';
$g_status_enum_workflow[CONFIRMED] = '20:reopened,40:deferred,50:assigned,60:to be tested';
$g_status_enum_workflow[DEFERRED] = '20:reopened,50:assigned,60:to be tested';
$g_status_enum_workflow[ASSIGNED] = '20:reopened,60:to be tested,90:closed';
$g_status_enum_workflow[TEST] = '10:new,20:reopened,50:assigned,80:resolved,90:closed';
$g_status_enum_workflow[RESOLVED] = '50:assigned,60:to be tested,90:closed';
$g_status_enum_workflow[CLOSED] = '50:assigned';
/**
* MantisBT custom stati
*/
define ( 'DEFERRED', 40 );
define ( 'TEST', 60 );
/**
* MantisBT custom stati
*/
if ( lang_get_current() == 'german' ) {
$s_status_enum_string = '10:neu,20:wiedereröffnet,30:bestätigt,40:zurückgestellt,50:zugewiesen,60:zu testen,80:behoben,90:geschlossen';
$s_to_be_tested_bug_button = "fertig zum Test";
$s_to_be_tested_bug_title = "zum Test übergeben";
$s_email_notification_title_for_status_bug_to_be_tested = "Ticket ist bearbeitet und fertig zum Test.";
$s_reopened_bug_button = "wiedereröffnen";
$s_reopened_bug_title = "Eintrag wieder öffnen";
$s_email_notification_title_for_status_bug_reopened = "Ticket wurde wieder geöffnet.";
$s_deferred_bug_button = "zurückstellen";
$s_deferred_bug_title = "Eintrag später bearbeiten";
$s_email_notification_title_for_status_bug_deferred = "Ticket wurde zurückgestellt.";
}
else {
$s_status_enum_string = '10:new,20:reopened,30:confirmed,40:deferred,50:assigned, 60:to be tested,80:resolved,90:closed';
$s_to_be_tested_bug_button = "Issue Ready to Test";
$s_to_be_tested_bug_title = "Set Issue Ready to Test";
$s_email_notification_title_for_status_bug_to_be_tested = "The following issue is ready TO BE TESTED.";
$s_reopened_bug_button = "reopen ticket";
$s_reopened_bug_title = "Reopen Issue";
$s_email_notification_title_for_status_bug_reopened = "The following issue was REOPENED.";
$s_deferred_bug_button = "postpone";
$s_deferred_bug_title = "Postphone Issue";
$s_email_notification_title_for_status_bug_deferred = "The following issue was POSTPONED.";
}
Users browsing this forum: Bing [Bot] and 2 guests