Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-10825

POP/IMAP service: JIRA loses HTML part of some (multipart/related) emails

      If JIRA is configured to create/comment issues from email, and encounters a mixed HTML/image email with a MIME part:

      Content-Type: multipart/related;
          type="text/html"
      

      Then JIRA will fail to parse the HTML part of the email, and logs this:

      2006-08-10 14:43:50,452 WARN [jira.issue.managers.DefaultAttachmentManager] Creating attachment without a file. Aborting

      Here are the headers from an email:

      X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0^M
      MIME-Version: 1.0^M
      Content-Type: multipart/related;^M
              type="text/html";^M
              boundary="----_=_NextPart_001_01C6BB93.375A48EB"^M
      .....
      
      This is a multi-part message in MIME format.^M
      ^M
      ------_=_NextPart_001_01C6BB93.375A48EB^M
      Content-Type: text/html;^M
              charset="iso-8859-1"^M
      Content-Transfer-Encoding: quoted-printable^M
      ^M
      <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =^M
      ....
      

            [JRASERVER-10825] POP/IMAP service: JIRA loses HTML part of some (multipart/related) emails

            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2845356 ] New: JAC Bug Workflow v3 [ 2927973 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2584542 ] New: JAC Bug Workflow v2 [ 2845356 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1544336 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2584542 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels New: affects-server
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 664331 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1544336 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 647672 ] New: JIRA Bug Workflow w Kanban v6 [ 664331 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v5 [ 262389 ] New: JIRA Bug Workflow w Kanban v6 [ 647672 ]
            Peter Leschev [Admin] made changes -
            Workflow Original: JIRA Bug Workflow + Quality v4 [ 248744 ] New: JIRA Bug Workflow w Kanban v5 [ 262389 ]
            Deleted Account (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow + Quality v3 [ 187097 ] New: JIRA Bug Workflow + Quality v4 [ 248744 ]
            ɹǝʞɐq pɐɹq made changes -
            Workflow Original: JIRA Bug Workflow v2 [ 59206 ] New: JIRA Bug Workflow + Quality v3 [ 187097 ]

              Unassigned Unassigned
              7ee5c68a815f Jeff Turner
              Affected customers:
              15 This affects my team
              Watchers:
              30 Start watching this issue

                Created:
                Updated:
                Resolved: