Project

General

Profile

Email notification stopped work, after moving issue to another project

Added by Anonymous almost 13 years ago

Hi !

I have a problem with email notification.
Mister X has created an issue in some project, mister X is a member of this some project, then we moved issue, to another project where mister X is not a member of this project and now mister X is not able to recive email notification from this issue. what we should do that mister X can again recive notification. We dont whant involve mister X to another project. I dont know if it is a misconfiguration of our redmine or this is a normal situation.

Looking for any help.
Cheers.


Replies (8)

RE: Email notification stopped work, after moving issue to another project - Added by Etienne Massip almost 13 years ago

I believe it makes sense : if Mr. X is no more granted to access this issue anymore, why could he receive mail notifications ?

RE: Email notification stopped work, after moving issue to another project - Added by Anonymous almost 13 years ago

Also for me, but he had created this issue, so he still is somehow involved with this. Anyway, is it possible that Mr. X could be notified?

RE: Email notification stopped work, after moving issue to another project - Added by Etienne Massip almost 13 years ago

I'd say no, can't imagine a simple way to do this, sorry.

RE: Email notification stopped work, after moving issue to another project - Added by Anonymous almost 13 years ago

This is not good news for me,but maybe You can tell me something more about this hardest way.

RE: Email notification stopped work, after moving issue to another project - Added by Etienne Massip almost 13 years ago

You can change code of method Issue#recipients around line 446 in app/models/issue.rb from :

  # Remove users that can not view the issue
  notified.reject! {|user| !visible?(user)}

to :

  # Remove users that can not view the issue
  notified.reject! {|user| !visible?(user) && user != author }

RE: Email notification stopped work, after moving issue to another project - Added by Anonymous almost 13 years ago

It was not as hard as You said before , everything work as I expected, wich means - works perfect !! Thank You so much. I will test this and let you know if this will impact on other parts of Redmine.

Cheers!

RE: Email notification stopped work, after moving issue to another project - Added by Etienne Massip almost 13 years ago

Altering code this way is never a good idea, you'll have to be careful of this change next time you upgrade Redmine.

RE: Email notification stopped work, after moving issue to another project - Added by Anonymous almost 13 years ago

I'll keep that in mind. Many thanks!

    (1-8/8)