Details
-
Bug
-
Resolution: Fixed
-
Low
Description
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.
Steps to reproduce
- Go to Administration >> System >> Mail >> Incoming Mail
- Add incoming mail handler with Handler Type "Add a comment from the non quoted email body"
- You can see that the Strip Quotes is FALSE at Properties column
- Test it with an email that have quote and it will add the whole email content including the quote content into the comment
Workaround
- Backup JIRA for rollback purposes
- Shutdown JIRA
- Run the following SQL query to look for the handler parameters:
SELECT * FROM propertystring WHERE ID = (SELECT a.ID FROM propertyentry a, serviceconfig b WHERE a.ENTITY_ID = b.ID AND a.PROPERTY_KEY = 'handler.params' AND b.servicename='<Handler Name>');
- Modify the content of the result so that the Strip Quotes is set to be TRUE, for example:
UPDATE propertystring SET propertyvalue='createusers=false,notifyusers=true,ccwatcher=false,ccassignee=true,stripquotes=true' WHERE ID = (SELECT a.ID FROM propertyentry a, serviceconfig b WHERE a.ENTITY_ID = b.ID AND a.PROPERTY_KEY = 'handler.params' AND b.servicename='<Handler Name>');
- Restart JIRA
Attachments
Issue Links
- is related to
-
JRASERVER-28444 "Add a comment from a non quoted email body" does not set the Strip Quotes to be TRUE
- Closed