When creating an issue through Capture for JIRA the notification mails received are in MIME format

症状

Creating an issue through a JIRA application, the format of the notification emails are received properly.  However, only when creating one through Capture for JIRA, then the notification mails received from JIRA are in MIME format.  An example of a MIME format email is as follows:

Date: Tue, 7 Aug 2012 12:14:01 +0200
From: "Immanuel Siagian (JIRA)" <xxxx@xxxx.com>
To: xxxx@xxxx.com
Message-ID: <27448003.51.1342520041916.JavaMail.UKH24769$@ukh24769>
Subject: [JIRA] (TST-1) Test Notification
 the text in the search-mask
X-Con-Id: xxxx
X-Con-U: 0-jira
X-Originating-IP: xxx.xx.xxx.xxx
...
MIME-Version: 1.0
Return-Path: xxxx@xxxx.com
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit
adding to preview and crf not possible
MIME-Version: 1.0
...
<style>
/*
Changing the layout to use less space for mobiles */
@media screen and
(max-device-width: 480px), screen and (-webkit-min-device=
-pixel-ratio: 2)
{
    #email-body { min-width: 30em !important; }
    #email-page { padding:
8px !important; }
    #email-banner { padding: 8px 8px 0 8px !important; }
#email-avatar { margin: 1px 8px 8px 0 !important; padding: 0 !important=
;
}
    #email-fields { padding: 0 8px 8px 8px !important; }
    #email-gutter
{ width: 0 !important; }
}
</style> 
...
        </td>
    </tr>
</table><!-- End #email-wrap
-->
</div><!-- End #email-body -->

Therefore, instead of receiving the notification in a nicely presented format, it will display HTML tags.  

診断

The problem seems to only occur when a user is using Microsoft Outlook as its Email Client.

原因

The system field Description, Comment or Environment field are still using the "Default Text render" rather then the "Wiki Style Render".

ソリューション

Configure the system field Description, Comment or Environment field to use "Wiki Style Render".

  1. Go to the page "Administration >> Field Configurations"
  2. Open the "Default Filed Configuration" or other field configuration associate to your project.
  3. Change the render for the term "Description", "Comment" and/or "Environment" from  "Default Text render" to "Wiki Style Render".

最終更新日: 2016 年 2 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.