if whining is properly configured, and you have a SMALL number of bug
assignees, create a search for each of them for bugs whose deadline is
<24 hours away or just passed. Add them all to one whine and send it
out daily.
Otherwise, you can make a copy of whineatnews.pl and change its search
to look for bugs whose deadline has passed instead of the bugs that
are new for x days.
2008/12/5 rojanu <aliu...@gmail.com>
> How can I send email to bug assignees on bug deadline
> Thanks
>
set up a saved search which finds bugs which have their deadline reached. (I
assume you know how to do this.) Add a boolean chart to this search:
"Assignee" "is equal to" "%user%".
Create a group, named "Everybody", and give it a regexp of ".*" (without the
quotes).
Set up a scheduled whine, with your saved search. Set the Everybody group as
the receiver. Schedule it to run daily.
The trick here is that Bugzilla automatically and dynamically replaces
%user% by the login of the user who is running the search, at each search
time. When a whine is run, it's run for each group member in turn,
individually.
Kind regards
Marc
NOTE: This is NOT spelled out in the docs I was just looking at...
http://www.bugzilla.org/docs/3.2/en/html/whining.html
Perhaps someone with time should open a documentation bug to add a
statement there.
"If you are a member of bzcanwhineatothers and you have configured a
whine schedule to send mail to another user or group, the whine will
be run as that user and the value of %user% is boolean charts will be
translated to their login_name."
Just a suggestion.