Page 1 of 1

Can "severity" be removed?

Posted: 18 Aug 2021, 06:33
by gurksallad
In our setup, we have no use for the Severity-option. By removing it from "View Issues Columns" under Manage Config -> Manage Columns we can remove it from the bug listing, but it still shows up in the filter header and when reporting new issues.

Is it possible - without altering the code itself, because that would screw upgrades - to remove these fields from everywhere?

Re: Can "severity" be removed?

Posted: 18 Aug 2021, 10:42
by rfeldbauer
Hello -
I removed the 'Assign To' field only from the Report Issue page.
You specify the fields you want to show.
You can do this under Manage, Manage Configuration, Configuration Report:
2021-08-18_06h27_53.png
2021-08-18_06h27_53.png (39.74 KiB) Viewed 5719 times

Here is the original setting (with the 'Assign To' or handler still there):
2021-08-18_06h37_53.png
2021-08-18_06h37_53.png (11.52 KiB) Viewed 5719 times
Please refer to the Fields Visibility section in the Admin Guide.
You may wish to do the same for $g_bug_view_page_fields and $g_bug_update_page_fields.

The fields are not actually removed, they are just not visible, so your upgrades will not be affected. :)

Re: Can "severity" be removed?

Posted: 22 Sep 2021, 11:52
by gurksallad
Thanks for the reply. However, we do not have the configuration "bug_report_page_fields" in Configuration Report (Mantis 2.22.1). Does this setting require a new Mantis version?

Re: Can "severity" be removed?

Posted: 22 Sep 2021, 13:04
by cas
You also can find the definition in config_defaults.php.
opy the secition you want to adjust to config/config_inc.php and adjust to your liking :mrgreen: