Allow to set is_private flag through a keyword in emails
|Assignee:||Go MAEDA||% Done:|
Currently it is impossible to set the
is_private flag of an issue with an email keyword. The attached patch developed for Planio changes that.
The code will recognize yes/no values according to the users' and the default locale, as well as 0/1.
#1 Updated by Go MAEDA about 2 years ago
- Status changed from New to Needs feedback
- Assignee set to Jens Krämer
Thank you for posting the patch. But the test fails.
Failure: MailHandlerTest#test_add_issue_with_private_keyword [test/unit/mail_handler_test.rb:507]: Expected false to be truthy. bin/rails test test/unit/mail_handler_test.rb:499
I found the following line in log/test.log.
MailHandler: missing information from John Smith: Unable to determine target project
#3 Updated by Jens Krämer about 2 years ago
here's the fixed patch - the test email was still tailored to Planio's customized mail handler which is why it failed on vanilla Redmine.