Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-65977

Mail Handlers Not Splitting Messages with Regex

    XMLWordPrintable

Details

    Description

      Summary

      Customer has specified a Mail Handler to Add a comment before a specified marker or separator in the email body however the Split Regex is not being used.

      Environment

      • 7.0.0-OD-04

      Steps to Reproduce

      1. Create a New Mail Handler using the option Add a comment before a specified marker or separator in the email body
      2. Specify a Split Regex Expression /From: |___.|On .wrote:|----Orig.|On .(JIRA).|.(JIRA).*wrote:/
      3. When messages from Outlook are received, the message is not split and show the Old/Quoted Replies
        • Also note, if a value is added to the message which would match the Regex Expression, it is not split at that point.

      Expected Results

      Message is Split

      Actual Results

      If a message is sent that matches the Regex Expression, the quoted text is not removed before the comment is added.

      Testing the Regex Expression:

      We see that the strings match.

      Replied to a JIRA message which contains one of the strings however the text after the string is added as a comment:

      Notes

      (Optional - If Necessary)

      Workaround

      None

      Attachments

        1. FromExample.png
          FromExample.png
          89 kB
        2. image (1).png
          image (1).png
          146 kB
        3. image (2).png
          image (2).png
          99 kB
        4. image (3).png
          image (3).png
          191 kB
        5. image (4).png
          image (4).png
          601 kB
        6. image (5).png
          image (5).png
          657 kB
        7. OnExample.png
          OnExample.png
          83 kB
        8. RegexTest.png
          RegexTest.png
          32 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scranford Shawn C
              Votes:
              65 Vote for this issue
              Watchers:
              60 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: