Uploaded image for project: 'JIRA (including JIRA Core)'
  1. JIRA (including JIRA Core)
  2. JRA-28444

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

    Details

    • Testing Notes:
      Hide
      • After adding incoming mail handler with Handler Type "Add a comment from the non quoted email body", the "Strip Quotes" at the "Properties column" is TRUE.
      • Make sure the functionality of this handler and the others work as usual.
      Show
      After adding incoming mail handler with Handler Type "Add a comment from the non quoted email body", the "Strip Quotes" at the "Properties column" is TRUE . Make sure the functionality of this handler and the others work as usual.

      Description

      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

              • Assignee:
                ohernandez@atlassian.com Oswaldo Hernandez
                Reporter:
                klfoong Kah Loun Foong
              • Votes:
                16 Vote for this issue
                Watchers:
                28 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: