Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Send email to assignee on bug deadline

495 views
Skip to first unread message

rojanu

unread,
Dec 5, 2008, 6:48:40 AM12/5/08
to
How can I send email to bug assignees on bug deadline
Thanks

Mike

unread,
Dec 5, 2008, 9:00:04 AM12/5/08
to
On Dec 5, 6:48 am, rojanu <alius...@gmail.com> wrote:
> How can I send email to bug assignees on bug deadline

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.

Marc Schumann

unread,
Dec 5, 2008, 9:08:07 AM12/5/08
to support-...@lists.mozilla.org
rojanu,

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

Mike

unread,
Dec 5, 2008, 9:19:27 AM12/5/08
to
On Dec 5, 9:08 am, "Marc Schumann" <wurbl...@gmail.com> wrote:
> rojanu,
>
> 2008/12/5 rojanu <alius...@gmail.com>

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.

rojanu

unread,
Dec 6, 2008, 7:59:09 AM12/6/08
to
modifying whineatnews.pl suits my needs the best, I will look at it
on Monday,

Thanks again

0 new messages