MantisBT 2.1.0 - Change severity & priority

Post about your customizations to share with others.

Moderators: Contributor, Developer

MantisBT 2.1.0 - Change severity & priority

Postby eherstad » Feb 16, 2017 9:06 am

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?
eherstad
 
Posts: 7
Joined: Feb 15, 2017 8:00 am

Re: MantisBT 2.1.0 - Change severity & priority

Postby atrol » Feb 17, 2017 1:57 am

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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6716
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT 2.1.0 - Change severity & priority

Postby eherstad » Feb 17, 2017 7:04 am

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 ?
eherstad
 
Posts: 7
Joined: Feb 15, 2017 8:00 am

Re: MantisBT 2.1.0 - Change severity & priority

Postby atrol » Feb 17, 2017 7:30 am

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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6716
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT 2.1.0 - Change severity & priority

Postby eherstad » Feb 17, 2017 7:32 am

Thank You for Your prompt reply yet again. Consider it Solved :)
eherstad
 
Posts: 7
Joined: Feb 15, 2017 8:00 am

Re: MantisBT 2.1.0 - Change severity & priority

Postby zemmyindrapatih » Jul 28, 2017 4:43 am

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
zemmyindrapatih
 
Posts: 1
Joined: Jul 28, 2017 4:32 am


Return to Customizations

Who is online

Users browsing this forum: No registered users and 7 guests