Gerrit doesn't send email for watched projects

477 views
Skip to first unread message

Viral Shah

unread,
Dec 2, 2011, 7:38:30 PM12/2/11
to Repo and Gerrit Discussion
Hi Guys,
I am using gerrit 2.2.1. I have SMTP setup with user/pass/server/port
etc set correctly. I know that smtp is setup correctly since, I do see
emails from gerrit when folks make a change to any issue I have
created on gerrit. I get updates etc from gerrit on that issue (since
I created it), or if folks CC on an issue.

*But* I wanted to get email notifications for *all* new issues/changes/
comments etc for all the projects on our gerrit server, even if I am
not CCed.
I therefore have setup a Watched project using the magic "--All
Projects--" and checked "New Changes All Comments Submitted Changes".
I don't have any filters (Only If field) set.

However I don't get any emails when a colleague creates a new issue.

Any steps I can take to debug this would be appreciated.

Martin Fick

unread,
Dec 2, 2011, 8:00:50 PM12/2/11
to repo-d...@googlegroups.com, Viral Shah
On Friday, December 02, 2011 05:38:30 pm Viral Shah wrote:
> Hi Guys,
> I am using gerrit 2.2.1. I have SMTP setup with
> user/pass/server/port etc set correctly. I know that
> smtp is setup correctly since, I do see emails from
> gerrit when folks make a change to any issue I have
> created on gerrit. I get updates etc from gerrit on that
> issue (since I created it), or if folks CC on an issue.
>
> *But* I wanted to get email notifications for *all* new
> issues/changes/ comments etc for all the projects on our
> gerrit server, even if I am not CCed.
> I therefore have setup a Watched project using the magic
> "--All Projects--" and checked "New Changes All
> Comments Submitted Changes". I don't have any filters
> (Only If field) set.

I am not that familiar with watches, but I will try.
Perhaps --Al Projects-- does not work for watches, try the
project name directly?

-Martin

--
Employee of Qualcomm Innovation Center, Inc. which is a
member of Code Aurora Forum

Viral Shah

unread,
Dec 2, 2011, 8:04:11 PM12/2/11
to Repo and Gerrit Discussion
My understanding is that notification for "all projects" is allowed as
per this fixed issue:
http://code.google.com/p/gerrit/issues/detail?id=535 which went out
with 2.1.4

Viral Shah

unread,
Dec 8, 2011, 4:42:37 PM12/8/11
to Repo and Gerrit Discussion
On working with Martin F on the IRC channel we found that the problem
was that the
"Send email notifications about comments and actions by users in this
group only to: Authors" Option was checked for the Group.
This prevented any email to go out to watchers as well.
Thanks all for help fixing.

On Dec 2, 5:04 pm, Viral Shah <vi...@open42.com> wrote:
> My understanding is that notification for "all projects" is allowed as

> per this fixed issue:http://code.google.com/p/gerrit/issues/detail?id=535which went out

Emmanuel Grumbach

unread,
Dec 10, 2011, 1:52:11 PM12/10/11
to Viral Shah, Repo and Gerrit Discussion
On Thu, Dec 8, 2011 at 23:42, Viral Shah <vi...@open42.com> wrote:
> On working with Martin F on the IRC channel we found that the problem
> was that the
> "Send email notifications about comments and actions by users in this
> group only to: Authors" Option was checked for the Group.
> This prevented any email to go out to watchers as well.
> Thanks all for help fixing.
>

Thanks !

I guess this will solve the issues on my setup too.

Thank you for having sent an email to help others :-)

Reply all
Reply to author
Forward
0 new messages