View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013320 | mantisbt | feature | public | 2011-09-17 19:34 | 2011-09-27 06:43 |
Reporter | vincent_sels | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Product Version | 1.2.8 | ||||
Summary | 0013320: Set custom status when user replies to feedback | ||||
Description | I love the $g_reassign_on_feedback feature. However, when the reporter replies to the feedback and the ticket was already assigned, status 'assigned' doesn't really stand out. In this situation, we use status 'confirmed' in our company. Personally I don't mind that it goes back to 'assigned' but I won't be able to persuade the rest of my team. So being able to configure the status to select upon feedback given would be perfect. | ||||
Tags | patch | ||||
Attached Files | 0013320.diff (1,226 bytes)
--- C:/Documents and Settings/vsel/mantisbt-1.2.8/config_defaults_inc.php Mon Sep 26 21:54:19 2011 +++ C:/Documents and Settings/vsel/mantisbt-edited/config_defaults_inc.php Mon Sep 26 22:09:42 2011 @@ -2724,6 +2724,13 @@ */ $g_view_additional_information_threshold = DEVELOPER; + /** + * when a reporter replies to a ticket in feedback that is assigned to someone + * then automatically set the status to this. If it is not yet assigned, set status to _NEW. + * @global int $g_bug_replied_status + */ + $g_bug_replied_status = ASSIGNED; + /************************************ * MantisBT Look and Feel Variables * ************************************/ --- C:/Documents and Settings/vsel/mantisbt-1.2.8/core/bugnote_api.php Tue Sep 06 10:23:10 2011 +++ C:/Documents and Settings/vsel/mantisbt-edited/core/bugnote_api.php Sun Sep 18 01:26:48 2011 @@ -197,7 +197,7 @@ if ( bug_get_field( $p_bug_id, 'handler_id') == 0 ) { bug_set_field( $p_bug_id, 'status', config_get( 'bug_submit_status' ) ); } else { - bug_set_field( $p_bug_id, 'status', config_get( 'bug_assigned_status' ) ); + bug_set_field( $p_bug_id, 'status', config_get( 'bug_replied_status' ) ); } } | ||||
I resolved this by adding a custom setting: $g_bug_replied_status = CONFIRMED; And altering the following code: File: \core\bugnote_api.php ... if it was FEEDBACK its NEW_ now
... |
|