Some problems with the new status
Posted: 14 Apr 2022, 12:59
Hello,
After adding a new status, it is not possible to transfer it to status "closed".
1. Add new status to config_inc.php. In my case it's "test"
2. Add translation strings for the new status in custom_strings_inc.php
3. Go to Manage -> Manage Configuration -> Workflow Transitions
4. Put necessary checkbox for the new status. In my case it's "feedback" and "closed" 5. Create new issue and change status on "test"
There is no problem when i change status from "test" to "feedback".
But when i change status from "test" to "closed" - i have an error
Access Level of my user = administrator
I tried do everything like in Admin_Guide:
- create custom_constants_inc.php with new status
- use $g_status_enum_workflow for all status
But the result is similar.
I have already asked this question in Bugtracker - 29858
But advice "introduce this "test" status somewhere between "assigned" and "resolved"" is not suitable for me
After adding a new status, it is not possible to transfer it to status "closed".
1. Add new status to config_inc.php. In my case it's "test"
Code: Select all
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed,100:test';
$g_status_colors = array('new' => '#fcbdbd',
'feedback' => '#e3b7eb',
'acknowledged' => '#ffcd85',
'confirmed' => '#fff494',
'assigned' => '#c2dfff',
'resolved' => '#d2f5b0',
'closed' => '#c9ccc4',
'test' => '#caedef');
Code: Select all
<?php
switch( $g_active_language ) {
case 'russian':
$s_status_enum_string = '10:новая,20:обратная связь,30:признана,40:подтверждена,50:назначена,80:решена,90:закрыта,100:тест';
$s_test_bug_title = 'Задача в тестировании';
$s_test_bug_button = 'Задача в тестировании';
$s_email_notification_title_for_status_bug_test = 'Следующая задача в Тестировании:';
break;
default: # english
$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed,100:test';
$s_test_bug_title = 'Test Issue';
$s_test_bug_button = 'Test Issue';
$s_email_notification_title_for_status_bug_test = 'The following issue has been TESTED';
break;
}4. Put necessary checkbox for the new status. In my case it's "feedback" and "closed" 5. Create new issue and change status on "test"
There is no problem when i change status from "test" to "feedback".
But when i change status from "test" to "closed" - i have an error
Access Level of my user = administrator
I tried do everything like in Admin_Guide:
- create custom_constants_inc.php with new status
- use $g_status_enum_workflow for all status
But the result is similar.
I have already asked this question in Bugtracker - 29858
But advice "introduce this "test" status somewhere between "assigned" and "resolved"" is not suitable for me