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
          89 kB
          Shawn C
        2. image (1).png
          146 kB
          Lavakumar Thatisetti
        3. image (2).png
          99 kB
          Lavakumar Thatisetti
        4. image (3).png
          191 kB
          Lavakumar Thatisetti
        5. image (4).png
          601 kB
          Lavakumar Thatisetti
        6. image (5).png
          657 kB
          Lavakumar Thatisetti
        7. OnExample.png
          83 kB
          Shawn C
        8. RegexTest.png
          32 kB
          Shawn C

        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: