Can "severity" be removed?

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
gurksallad
Posts: 18
Joined: 30 Jan 2020, 07:42

Can "severity" be removed?

Post 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?
Attachments
2.png
2.png (24.84 KiB) Viewed 4196 times
1.png
1.png (13.14 KiB) Viewed 4196 times
rfeldbauer
Posts: 10
Joined: 21 Jul 2021, 22:03

Re: Can "severity" be removed?

Post 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 4187 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 4187 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. :)
gurksallad
Posts: 18
Joined: 30 Jan 2020, 07:42

Re: Can "severity" be removed?

Post 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?
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Can "severity" be removed?

Post 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:
Post Reply