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

JIRA creating duplicate issues from email via POP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • None

    Description

      Summary

      POP mail servers that are set up in JIRA may experience duplicate issue creation as a result of the JIRA 7.1.0-OD-01 release on November 23rd.

      Environment

      • JIRA 7.1.0-OD-01
      • POP mail servers

      Steps to Reproduce

      1. Have emails in your POP mail server

      Expected Results

      1 issue is created or one comment is created per email.

      Actual Results

      Two issues are created, and the following may appear in the logs

      javax.mail.MessagingException: A14 BAD Command Argument Error. 11;
        nested exception is:
      	com.sun.mail.iap.BadCommandException: A14 BAD Command Argument Error. 11
      	at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:905)
      	at com.atlassian.jira.plugins.mail.internal.DefaultMailLoopDetectionService.isPotentialMessageLoop(DefaultMailLoopDetectionService.java:57)
      	at com.atlassian.jira.plugins.mail.handlers.AbstractMessageHandler.canHandleMessage(AbstractMessageHandler.java:437)
      	at com.atlassian.jira.plugins.mail.handlers.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:108)
      	at com.atlassian.jira.plugins.mail.handlers.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:98)
      	at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:435)
      	at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:301)
      	at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:423)
      

      Workaround

      Use IMAP for your mail server, this will prevent issue duplication. Follow Configuring JIRA to Receive Email from a POP or IMAP Mail Server for instructions.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mhunter Matthew Hunter
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: