MantisBT 2.1.0 - Change severity & priority

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
eherstad
Posts: 7
Joined: 15 Feb 2017, 13:00

MantisBT 2.1.0 - Change severity & priority

Post by eherstad »

Hi.

Trying to reduce the number of choices on severity and priority. I'd like to change severity to only contain feature, minor and major andpriority to contain low, normal and high. Any guides/tips on how to do it? Running MantisBT on windows 2008 R2 IIS server, using Mysql & PHP 7.3
I've been searching a bit on google and these forums, but only finding very old posts/info, can't really see a way to change it. I've tried editing config_inc.php under root/config/ to setup smtp email etc, and put in the following:
$g_priority_enum_string = '10:feature,40:minor,60:major';


Is it possible to change severity pr. project or are there global settings only?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: MantisBT 2.1.0 - Change severity & priority

Post by atrol »

eherstad wrote: Is it possible to change severity pr. project
Possible
You can use page Manage > Manage Configuration > Configuration Report for it.
When entering a configuration option, remove "$g_" from the name of the option.
Please use Search before posting and read the Manual
eherstad
Posts: 7
Joined: 15 Feb 2017, 13:00

Re: MantisBT 2.1.0 - Change severity & priority

Post by eherstad »

atrol wrote: You can use page Manage > Manage Configuration > Configuration Report for it.
When entering a configuration option, remove "$g_" from the name of the option.
Hi, thanks for the prompt reply, it worked! I added in the configuration report configuration option for 3 items:
status_enum_string
priority_enum_string
severity_enum_string.

I selected default for the project, and apply filter.

When i upgrade mantisbt, which files should i take care of to make sure these customization are migrated to next version? config_inc.php and ?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: MantisBT 2.1.0 - Change severity & priority

Post by atrol »

eherstad wrote:which files should i take care of to make sure these customization are migrated to next version?
There are no additional files needed for it. These customizations are stored in database.
Please use Search before posting and read the Manual
eherstad
Posts: 7
Joined: 15 Feb 2017, 13:00

Re: MantisBT 2.1.0 - Change severity & priority

Post by eherstad »

Thank You for Your prompt reply yet again. Consider it Solved :)
zemmyindrapatih
Posts: 1
Joined: 28 Jul 2017, 09:32

Re: MantisBT 2.1.0 - Change severity & priority

Post by zemmyindrapatih »

Dear eherstad,

I still cannot configure severity and priority. I'm using Mantis 2.5.1
even after add new "Configuration Option". What am I missing?
Image

Thank you for your help.

* Update image not visible
Post Reply