Project

General

Profile

Actions

Feature #8795

open

Notification on new issue creation (to get ticket number) but not changes that I make myself

Added by Nicolas Kopp over 13 years ago. Updated over 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2011-07-12
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Title pretty much says it all. If hope this is not a dublicate of http://www.redmine.org/issues/8241

Scenario:
  • Someone opens up a new issue via mail
  • Redmine parses E-Mail and sends notification mail to the creator. This Mail contents a ticket number. The ticket-number is neccesary to properly update the ticket via mail, otherwise (without the number) a new issue would be created.
  • If I upate the issue via mail I don't want to be notified about the changes I made.

Basically the "I don't want to be notified of changes that I make myself" option does that, except that no mail is sent when I CREATE an issue (that counts as a change) and I get no ticket number.

Actions #1

Updated by Nicolas Kopp over 13 years ago

found the piece of code, I think:

app/models/mailer.rb, line 360ff:

if @author.pref[:no_self_notified]
recipients.delete(@author.mail) if recipients
cc.delete(@author.mail) if cc
end

Now i need to know how to change that like

if @author.pref[:no_self_notified]
if issue_in_question! = just_created
recipients.delete(@author.mail) if recipients
cc.delete(@author.mail) if cc
end
end

Any ideas?

Actions

Also available in: Atom PDF