Allow replies to original issue e-mail to add issue notes
When an issue is submitted to Redmine via e-mail, and a carbon-copied recipient replies to the original e-mail, the subject will not include the issue number. This reply (and future replies) result in the creation of additional new issues.
This patch allows the mail handler to lookup the issue by subject, and add the reply as a note on the original issue. If no matching issue is found, it falls back to adding a new issue.
#3 Updated by Timothy Fawcett over 4 years ago
- Would be nice if the UID of the message was stored with the email/issue so that could be used to match these replies with the original email
- Would be best (to avoid adding notes to the wrong issue) to also match the author to one of the email recipients. Would normally reply to all which would include the issue creation email address as well as all that was on the email, including the original author.
Thank you for this...
#4 Updated by mark burdett about 4 years ago
- File redmine-issue-reply-match-by-subject.patch added
This new version of the patch catches an edge case: If the issue subject starts with "Re: ", then replies to the original e-mail will not add an additional "Re: " in front: We need to search for the whole e-mail subject as the issue subject, rather than removing the "Re: " prefix from the e-mail subject.