Project

General

Profile

Actions

Defect #16058

open

Watcher is not getting email notification when an issue has been updated

Added by Shashank K about 10 years ago. Updated over 4 years ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

User1 created an issue and assigned it to User2 and added User3 as Watcher

User3 is getting mail notification when the issue is created but not getting notified when the same issue is updated.

User3 has the notification setting as Only for things I watch or I'm Involved in

Please help me out.

The details of redmine I'm using is as follows

Environment:
Redmine version 2.4.1.stable
Ruby version 1.9.3-p484 (2013-11-22) [i686-linux]
Rails version 3.2.16
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.4
Git 1.8.3


Files

setting.png (13.8 KB) setting.png Toshi MARUYAMA, 2014-03-04 05:31
settingsreporter.png (11 KB) settingsreporter.png Shashank K, 2014-03-04 05:45
Untitled.png (16.1 KB) Untitled.png Hoc NV, 2014-07-07 04:54
Untitled.png (11 KB) Untitled.png Hoc NV, 2014-07-07 04:58
preference.png (5.94 KB) preference.png Toshi MARUYAMA, 2014-07-07 05:28
Untitled.png (18.3 KB) Untitled.png Hoc NV, 2014-07-07 15:24
user02.png (13.2 KB) user02.png Hoc NV, 2014-07-07 16:37
Issuesvisibility.png (22.1 KB) Issuesvisibility.png Toshi MARUYAMA, 2014-08-05 03:27
Actions #1

Updated by Toshi MARUYAMA about 10 years ago

  • File setting.png setting.png added
  • Status changed from New to Needs feedback
  • Priority changed from Urgent to Normal

Check your setting.

Actions #2

Updated by Shashank K about 10 years ago

I've checked settings. t looks fine. Please check attached screen shot.

Actions #3

Updated by Hoc NV over 9 years ago

I also have same errors. User3 doesnt receive any notification when User1 create issue also update issue

Anybody help me resolved it.

Actions #4

Updated by Toshi MARUYAMA over 9 years ago

Do you use plugins?

Actions #5

Updated by Hoc NV over 9 years ago

i dont use plugin. I must install plugin rite?

Actions #6

Updated by Toshi MARUYAMA over 9 years ago

Hoc NV wrote:

i dont use plugin. I must install plugin rite?

No.
Your problem is not same with Shashank's description.

Shashank, do you use plugins?

Actions #7

Updated by Shashank K over 9 years ago

Toshi MARUYAMA, I don't use any plugins for watcher

Actions #8

Updated by Hoc NV over 9 years ago

how about my problem MARUYAMA? Pls help me resolve it.

Actions #9

Updated by Toshi MARUYAMA over 9 years ago

comment out "config.action_mailer.logger" line of config/environments/production.rb
and check log/production.log.

   # No email in production log
   #config.action_mailer.logger = nil
Actions #10

Updated by Hoc NV over 9 years ago

Hi Toshi MARUYAMA,
I remove comment on it:

 # No email in production log
  config.action_mailer.logger = nil

but still errors.

I describe again:

Admin create new project, and add member user1 to that project.
then admin create one issue and assign to user1.

now, admin add user2 as a watcher to issue. But when user1 update or modify, user2 don't any mail notification.

User2 is not belong to member of that project. User2 is a watcher.

Pls help me to resolve.

Thanks.

Actions #11

Updated by Toshi MARUYAMA over 9 years ago

Hoc NV wrote:

Hi Toshi MARUYAMA,
I remove comment on it:

No. Add comment at "config.action_mailer.logger = nil" line.
Then you get log in log/production.log.

  Rendered mailer/_issue.text.erb (4.2ms)
  Rendered mailer/issue_edit.text.erb within layouts/mailer (4.8ms)
  Rendered mailer/_issue.html.erb (0.8ms)
  Rendered mailer/issue_edit.html.erb within layouts/mailer (2.4ms)

Sent email "[hg-crew-00 - Bug #74] Google Chrome 36" (12ms)
  bcc: admin@example.net, test00@exapmle.com
  Rendered mailer/_issue.text.erb (0.9ms)
  Rendered mailer/issue_edit.text.erb within layouts/mailer (1.6ms)
  Rendered mailer/_issue.html.erb (1.2ms)
  Rendered mailer/issue_edit.html.erb within layouts/mailer (2.8ms)

Sent email "[hg-crew-00 - Bug #74] Google Chrome 36" (11ms)
  bcc: test02@example.com
Actions #12

Updated by Hoc NV over 9 years ago

Oh, still send mail notification to watcher:

Completed 200 OK in 276.7ms (Views: 210.8ms | ActiveRecord: 15.6ms)
Started PUT "/issues/39" for 183.91.7.251 at Mon Jul 07 09:15:54 +0700 2014
Processing by IssuesController#update as HTML
  Parameters: {"time_entry"=>{"comments"=>"", "activity_id"=>"", "hours"=>""}, "commit"=>"Submit", "last_journal_id"=>"58", "authenticity_token"=>"hkSIso159d6IJLiViqJRREnjQPhvw3NAIfxOklDgSPU=", "utf8"=>"â", "id"=>"39", "issue"=>{"start_date"=>"2014-07-04", "estimated_hours"=>"", "priority_id"=>"2", "parent_issue_id"=>"", "is_private"=>"0", "project_id"=>"25", "notes"=>"Test send mail to watcher now..................", "lock_version"=>"4", "subject"=>"Xá»­ lý lá»i send mail của redmine", "assigned_to_id"=>"3", "done_ratio"=>"0", "tracker_id"=>"2", "due_date"=>"2014-07-08", "private_notes"=>"0", "description"=>"Sá»­a lá»i send mail:\r\n1. Send mail notification cho watcher\r\n2. Xá»­ lý send mail công viá»c quá deadline", "status_id"=>"2"}}
  Current user: hocnv (id=3)
  Rendered mailer/_issue.text.erb (4.6ms)
  Rendered mailer/issue_edit.text.erb within layouts/mailer (5.2ms)
  Rendered mailer/_issue.html.erb (1.2ms)
  Rendered mailer/issue_edit.html.erb within layouts/mailer (2.1ms)

Sent email "[PrHocNV - Công viá»c #39] Xá»­ lý lá»i send mail của redmine" (3816ms)
  bcc: XXXXXXXX
Redirected to http://192.168.9.12/issues/39
Completed 302 Found in 4040.0ms (ActiveRecord: 15.9ms)
Started GET "/issues/39" for 183.91.7.251 at Mon Jul 07 09:15:59 +0700 2014
Processing by IssuesController#show as HTML
  Parameters: {"id"=>"39"}
  Current user: hocnv (id=3)

Herer user MP MP2010 is a watcher, but he dont receive any notification

I see in the log:

Send mail notification cho watcher\r\n2. Xá»­ lý send mail công viá»c quá deadline", "status_id"=>"2"}}
  Current user: hocnv (id=3)
  Rendered mailer/_issue.text.erb (4.6ms)

But watcher dont receive notification.

Only user1 receive mail.

Actions #13

Updated by Hoc NV over 9 years ago

Actions #14

Updated by Toshi MARUYAMA over 9 years ago

Check user preference setting.

Actions #15

Updated by Hoc NV over 9 years ago

i just have configured also the same log as above i pasted.
:(

Actions #16

Updated by Daniel Felix over 9 years ago

Well the both users need tho set their informations for email notifications. If the user has the option "no events" they won't get ANY notifications.

Please screen your redmine settings for notifications, and the settings for the two users. Maybe we could take a look at it, which would be better than digging in the dark. :-)

Actions #17

Updated by Shashank K over 9 years ago

Hi Deniel, I've mentioned in description that all users have notification setting as '*Only for things I watch or I'm Involved in*'

Actions #18

Updated by Hoc NV over 9 years ago

Yes, i also chosen "Only for things I watch or I'm Involved in".

But watcher doesn't receive any notification.

Actions #19

Updated by Daniel Felix over 9 years ago

Hm just to be sure....

Is the project we were talking about public or does a user just see his own generated issues? In this case, this would be the correct behaviour!

Actions #20

Updated by Hoc NV over 9 years ago

Actions #21

Updated by Hoc NV over 9 years ago

I paste here:

Admin create new project, and add member user1 to that project.
then admin create one issue and assign to user1.

now, admin add user2 as a watcher to issue. But when user1 update or modify, user2 don't any mail notification.

User2 is not belong to member of that project. User2 is a watcher.

The project is only one User1 tobe is member, and it's not public project.

And i add user2 as watcher as under picture:

Actions #22

Updated by Daniel Felix over 9 years ago

Yes... i know where you added the user....
But what is the role setting?

What is your value for the property "issue visibility" in the role which is assigned to the two users?

But wait... If you just have one member in the project... and only one user is member, I would guess that this single user gets the email and the added watcher which is not a member of the project won't get this mail. Is this right? This would be the intended behaviour. So this means, it won't be a bug, as it is intended.

Actions #23

Updated by Hoc NV over 9 years ago

Here is role setting of user02 that i add as watcher:

And i don't know to set the property "issue visibility" where.

I only assigne to User01, and User01 is member of the project, User02 is not belong to member of this project.

Both user01, user02 have account login to redmine system.

Actions #24

Updated by Hoc NV over 9 years ago

Actions #25

Updated by Daniel Felix over 9 years ago

Well, as already stated. User02 isn't a project member and the project isn't public. This means, that he won't get a information message. This is the intended behaviour as far as i know.

Actions #26

Updated by Hoc NV over 9 years ago

Oh, can you tell me i can find it where now?

Thanks Daniel,

Actions #27

Updated by Daniel Felix over 9 years ago

Just two or three comments above.

Maybe you try to add the user to the project and retry. This should do it. Another way is to set the project public. But this way of configuration gives this experience. I'm not sure if this is a bug and if there is a good way to get around it.

But there is a plugin, maybe you want to try it. I'm not sure if this is compatible with 2.4.x and 2.5.x branch.
http://www.redmine.org/plugins/redmine_extended_watchers

Best regards,
Daniel

Actions #28

Updated by Toshi MARUYAMA over 9 years ago

Hoc NV wrote:

And i don't know to set the property "issue visibility" where.

Actions #29

Updated by rachel foucard over 9 years ago

Hello,

I think I have a similar problem and I'm sure I did not understand a setting :

On a project where I'm member (manager), on a task I'm a watcher, but not assigned user I don't get notification mail.
If I change the assigned user with me, I get the notification.
I'm a manager, and the issues visibility for this role is "All issues".
I did something wrong ?

Best regards,
Rachel.

Actions #30

Updated by Michael Esemplare over 9 years ago

Hi Rachel,

What is your Email Notification Preferences set to in "My Account"?

Make sure it is at least set to "Only for things I watch or I'm Involved in".

Regards,
Mike

Actions #31

Updated by T A over 4 years ago

We had the same problem, BUT found out that user WHO can SEE the Ticket also get notifications, but users who can't see the ticket but are a watcher also do not get a notification.

So it might rather a problem of ticket visibility, rather than notification settings.

This might help: https://www.redmine.org/boards/2/topics/40722?r=40741#message-40741 to make watchers also see a ticket the are not owning but just watching.

Actions #32

Updated by Alexandre WALLET over 4 years ago

Yes, same "issue" on my side. The watcher feature does not allow people to see a ticket.
Maybe it's not directly linked to the first subject but my case is :

  • A private project
  • Dev create an issue
  • A some point we need a info from a colleague butwe don't want this guy to get access to all data in this specific project so we add him as watcher on this issue (we can do this action without warning)
  • He won't be able to see or to be notified by this because he is not member of the project and no Redmine option should alo this.
Actions

Also available in: Atom PDF