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

Duplicate tickets created by the mail handler when Message-ID size is bigger than 255 characters

XMLWordPrintable

      Issue Summary

      Similar to BUG JRACLOUD-69501, duplicate tickets are created in a loop when an email message is received by the mail handler and the Message-ID size is bigger than 255 characters.

      What happens is:

      1. JIRA starts processing the email and successfully creates a new issue from it
      2. An error happens on the stack stating that the message-id size is "too long for type character varying(255)"
      3. The email handler fails, the email is not set as processed and at the next run the handler will try to process it again starting back from step #1

      Steps to Reproduce

      1. It was not possible to identify "how the message-id was too long" as it's usually a lot smaller, or to reproduce it.

      Expected Results

      One ticket is created from the incoming email.

      Actual Results

      Jira keeps creating new tickets from the same email every hour approximately.

      (Logs are attached to the internal comments.)

      Workaround

      Change the mail loop detection setting (message threshold) from 0 to 1 stops the loop. Reverting to 0 after that should not restart the loop.

              a8c9c776a834 Likhita AVL
              39c9abcf55e0 Rafael R
              Votes:
              3 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: