Automatic mail notification customization
I'm puzzled a bit on how to implement the following :
In case for an existing defect, the status is changed to "FIXED" and in addition the BG_USER_01 field has value "POS", then the defect e-mail notification should be mailed automatically to the person defined in "detected by" and also to all persons that are part of the user group "POS_Tester".
Is this something that can be done via the Configure mail window (Project Customization) ?
Or is it rather to be done via the Script Editor (Defects Module, Defects_Bug_Field_Change) ?
If anybody could elaborate a bit further on how to implement such a rule, I'd be very grateful.
PS : I know how to activate the "Send defect e-mails automatically" for a project and have several (simple) mail notification rules active for other projects.
Re: Automatic mail notification customization
You can configure multiple conditions for one user, including the "detected by" user (the admin guide says: "Note that if you define multiple filters, the selected user will only receive mail if all of the conditions are met.").
But you cannot configure it for a user group. So, to send the mail to all users part of the POS_Tester group, you have two possibilities;
1. Build a distribution list in your mailing system with all the users in that group; add a "dummy" user in the TD project and give it that mail address; configure it as you did for the "detected by" user. Drawback: you have to manually synchronize the distribution list with the POS_Tester user group.
2. Add some processing in the workflow, for instance in the Bug_AfterPost function, using TDConnection.SendMail to [POS_Tester]. Drawback: you have to build the message body in the workflow.