Custom enumerations of Severity, Priority, per project.

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Mark Dixon
Posts: 1
Joined: 14 Jun 2006, 14:01

Custom enumerations of Severity, Priority, per project.

Post by Mark Dixon »

We would like to add a project in Mantis that has custom enumerations of the Severity, Priority, Reproducibility fields. Seems like this can be done, as per the changelog for v1.0.0a1 on 4/18/05: "0003961: [feature] Add the ability to custom enumerations by project." Has anyone done this yet?

For clarification:
We want to keep the majority of our projects with the values that come standard with Mantis, but for a new group of projects we would like to have these fields defined as follows:
Severity: High, Medium, Low
Severity: A, B, C
Reproducibiity: 100%, 75%, etc...

Any help is appreciated.
mathias
Posts: 11
Joined: 26 Feb 2007, 13:29
Location: Heidelberg, Germany

Post by mathias »

I would be quite interested if someone has done this.

Apart from this I cannot exactly recall if this is a feature of 1.1.0. Can't find it in he Change-Log...?

Thanks in advance, Mathias
-----------------------------------------------------
Mantis 1.0.1, MySQL 5.0.33, PHP 5.2.1 (all on WinXP)
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

What is your Mantis version?
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
mathias
Posts: 11
Joined: 26 Feb 2007, 13:29
Location: Heidelberg, Germany

Post by mathias »

Currently running Mantis 1.0.1 but moving to 1.0.8 soon.
-----------------------------------------------------
Mantis 1.0.1, MySQL 5.0.33, PHP 5.2.1 (all on WinXP)
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Custom enumerations of Severity, Priority, per project.

Post by M@rce »

Hello,
My version is 1.1.8, what are the steps to do the customization about severity per project??
Thanks a lot.
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Custom enumerations of Severity, Priority, per project.

Post by M@rce »

Hi,
I did upgrade to 1.2.5 version, but don't heve idea to make severety flags per project. In the config_defaults_inc file say "To overload this setting per project, then the settings must be included in the database through the generic configuration form.", what and where is this form? :?
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Custom enumerations of Severity, Priority, per project.

Post by atrol »

M@rce wrote:what and where is this form? :?
"Manage" -> "Manage Configuration" -> "Configuration Report"
Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Custom enumerations of Severity, Priority, per project.

Post by M@rce »

Well, i still trying...i did next steps:

In the confic_inc file, i wrote a line with "$g_severity_enum_string = '10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block';"

In matisBT, on manage configuration, selected:
USER: All users
PROJECT NAME: New project after upgrade
CONFIGURATION OPTION: $g_severity_enum_string
TIPE: complex
VALUE: array ( 90 => alta,
100 => media,
110 => baja)

Then appeared a message error:

APPLICATION ERROR #100
No se encuentra la opción de configuración '$g_severity_enum_string'.

That detail was still lacking? Thank you!
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Custom enumerations of Severity, Priority, per project.

Post by M@rce »

Another error:

Parse error: syntax error, unexpected T_VARIABLE in C:\path\xampplite\xampplite-win32-1.7.4\xampp\htdocs\bugtracker\config_inc.php on line 120 (in this line is where are the string with the values "10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block,90:Alta,100:Media,110:Baja")

Anybody have a idea about this? Thanks.
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
Post Reply