Hi expert,
I'm new with Mantis and scripting. I need some help and advise.
- How to customise the default value in Severity & priority?
- Also how to update the defect workflow in Mantis, any example code that I can reference?
Mantis version: 1.2.12
Thanks in advance.
Bryan
newbie need help on Mantis
Moderators: Developer, Contributor
newbie need help on Mantis
- Attachments
-
- workflow.png (82.57 KiB) Viewed 3351 times
regards,
Bryan
Testing is an art
Bryan
Testing is an art
Re: newbie need help on Mantis
Use page Manage > Manage Configuration > Workflow Transitions to configure your workflows
Add the following lines to file config_inc.php and adjust to your needs.
use the following constants for it
Add the following lines to file config_inc.php and adjust to your needs.
Code: Select all
$g_default_bug_priority = NORMAL;
$g_default_bug_severity = MINOR;
Code: Select all
# priority
define( 'NONE', 10 );
define( 'LOW', 20 );
define( 'NORMAL', 30 );
define( 'HIGH', 40 );
define( 'URGENT', 50 );
define( 'IMMEDIATE', 60 );
# severity
define( 'FEATURE', 10 );
define( 'TRIVIAL', 20 );
define( 'TEXT', 30 );
define( 'TWEAK', 40 );
define( 'MINOR', 50 );
define( 'MAJOR', 60 );
define( 'CRASH', 70 );
define( 'BLOCK', 80 );Re: newbie need help on Mantis
Dear Atrol,
Thanks for your input
Bryan
Thanks for your input
Bryan
regards,
Bryan
Testing is an art
Bryan
Testing is an art
Re: newbie need help on Mantis
I take a look of customization today but I can't find a way to modify the value in the Workflow Transitions page .atrol wrote:Use page Manage > Manage Configuration > Workflow Transitions to configure your workflows
Also I'm pretty new in scripting where to get the config_inc.php?
Or do you know anyone that doing freelance of customize Mantis? if yes, please PM to me.
Thanks
Bryan
regards,
Bryan
Testing is an art
Bryan
Testing is an art
Re: newbie need help on Mantis
You will find the file where you installed MantisBT.bryanloh wrote: Also I'm pretty new in scripting where to get the config_inc.php?
Not really,bryanloh wrote: Or do you know anyone that doing freelance of customize Mantis?
maybe Victor Boctor will respond http://www.mantisbt.org/consulting.php