Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-28444

"Add a comment from a non quoted email body" does not set the Strip Quotes to be TRUE

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Steps to reproduce

      1. Go to Administration >> System >> Mail >> Incoming Mail
      2. Add incoming mail handler with Handler Type "Add a comment from the non quoted email body"
      3. You can see that the Strip Quotes is FALSE at Properties column
      4. Test it with an email that have quote and it will add the whole email content including the quote content into the comment

      Workaround

      1. Backup JIRA for rollback purposes
      2. Shutdown JIRA
      3. 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>');
        
      4. 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>');
        
      5. Restart JIRA

      Attachments

        Issue Links

          Activity

            People

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              klfoong Foong (Inactive)
              Votes:
              16 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: