To simplify the use of Mantis for our needs I removed a few items from the 'Status' and 'Severity' enum_strings by adding the following to config_inc.php :
# --- enum strings ----------------
$g_severity_enum_string = '10:feature,30:text,50:minor,60:major,70:crash,80:block';
$g_status_enum_string = '10:new,20:feedback,50:assigned,80:resolved,90:closed';
This works fine, but (isn't there always a 'but'..) when viewing the "Summary" the graphs still show the unused items 'trivial', 'tweak', 'urgent' and 'immediate'.
Any idea how to change that too?
Thanks, Ed
JPGraph with altered Status and Severity items
Moderators: Developer, Contributor
@costanm,
thanks for thinking with me, but that wasn't it.
At first there indeed were some bugs with the no longer used status and they showed up as @20@ , @40@ etc. (if I recall correctly) in de 'View reports'.
I changed the few bugs to another status so the old ones are no longer in use.
Besides that; the JPGraph statistic shows these unused items with zero bugs but the name for the column is still there. Same thing for the legenda for the pie-chart. Also ruled out caching (I think).
using version 1.1.0a1 but saw it earlier in 1.0.5
thanks for thinking with me, but that wasn't it.
At first there indeed were some bugs with the no longer used status and they showed up as @20@ , @40@ etc. (if I recall correctly) in de 'View reports'.
I changed the few bugs to another status so the old ones are no longer in use.
Besides that; the JPGraph statistic shows these unused items with zero bugs but the name for the column is still there. Same thing for the legenda for the pie-chart. Also ruled out caching (I think).
using version 1.1.0a1 but saw it earlier in 1.0.5
solved
Solved it by adding the same lines to "custom_strings_inc.php" :
$g_severity_enum_string = '10:feature,30:text,50:minor,60:major,70:crash,80:block';
$g_status_enum_string = '10:new,20:feedback,50:assigned,80:resolved,90:closed';
Done!!
$g_severity_enum_string = '10:feature,30:text,50:minor,60:major,70:crash,80:block';
$g_status_enum_string = '10:new,20:feedback,50:assigned,80:resolved,90:closed';
Done!!
my mistake, sorry
Oops, you are so right Victor, it is:
$s_severity_enum_string = '10:feature,30:text,50:minor,60:major,70:crash,80:block';
$s_status_enum_string = '10:new,20:feedback,50:assigned,80:resolved,90:closed';
made the mistake in copy/paste to the forum.
Great application and thanks for monitoring.
$s_severity_enum_string = '10:feature,30:text,50:minor,60:major,70:crash,80:block';
$s_status_enum_string = '10:new,20:feedback,50:assigned,80:resolved,90:closed';
made the mistake in copy/paste to the forum.
Great application and thanks for monitoring.