bugnote or bugnotes

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Damien

bugnote or bugnotes

Post by Damien »

Hi,

becoming crazy with the email notification customization, I have done a recap :

The actions are :
new, reopened, deleted, owner, bugnote, sponsor, relation

The statuses are :
new, feedback, acknoledeged, confirmed, assigned, resolved, closed

The users level are :
viewer, reporter, updater, developer, manager, administrator
+ anybody, nobody, handler, monitor
+ ON, OFF

we ca add a special field :
threshold_min, threshold_max

Am i right ?

Ok the questions now !

does the string looks like

$g_notify_flags ['action'] ['status'] ['threshold_min'] = USER LEVEL


If all is correct (?) I don't understand why sometimes there is 'bugnote' and sometimes 'bugnotes' in the example ?

http://manual.mantisbt.org/manual.custo ... ations.php

I really want to understand how the emailing system works !!!

thx for the answers to all questions ;-)
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

The email system has two parts (actions and recipients).

The actions are what you have listed (change in owner, bugnote, sponsor, relationship, or change in status to any defined status or reopened, or deleted). Anytime one of these actions takes place, the email generator is kicked in.

The recipients fall into two classes again. There are those involved with the issue ( reporter, handler, those monitoring, and those who have contributed bugnotes ). They get an email of their flag is set to ON. There are also those involved in the project (using the thresholds, min and max) where a range of people can be selected.


For your questions, the overrides should look like

Code: Select all

$g_notify_flags ['status'] ['threshold_min'] = USER LEVEL;
or

Code: Select all

$g_notify_flags ['action'] ['threshold_min'] = USER LEVEL;
or

Code: Select all

$g_notify_flags ['bugnote'] ['bugnotes'] = ON;
Post Reply