Optimizing Jira Incoming Email Comments: How to Truncate Older Messages and Add Only New Email Content

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。

要約

When users send emails to Jira Cloud to be added as comments on issues, the entire email thread, including previous conversations, is often included. This results in lengthy comments with redundant information. Typically, users require only the new message from the email to be added as a comment.

環境


Jira Cloud 

診断


The default behavior of Jira Cloud's incoming email handler often results in the entire email thread being added as a comment, leading to lengthy comments filled with redundant information.

原因


The incoming email handler is processing all text due to its basic configuration.

ソリューション

  1. Log in to Incoming Email Settings:

    • Access your Jira Cloud admin panel.

    • Navigate to "System" > "Incoming Mail."

  2. Add a New Incoming Email Handler:

    • Select "Add incoming mail handler."

  3. Configure Email Handler:

    • Email Handler Type: Choose "Add a comment before a specified marker or separator in the email body."

    • Incoming Email Server: Ensure it matches the main email handler used to create issues.

    • Name: Choose a name to identify the handler for easy reference.
  4. **Set Up Split Regex:

    1. /From: |___.|On [\s\S]*wrote:|----Orig.|On .(JIRA).|.(JIRA).*wrote:/

  5. This regex above pattern helps identify common markers in email threads, such as "From:", "On [date] wrote:", and other variations, allowing Jira to truncate the comment at these points.



最終更新日 2024 年 9 月 6 日

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

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