Details
-
Bug
-
Resolution: Timed out
-
Low
-
5
-
Severity 3 - Minor
-
Description
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:
- JIRA starts processing the email and successfully creates a new issue from it
- An error happens on the stack stating that the message-id size is "too long for type character varying(255)"
- 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
- 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.