Incorrect links on JIRA mail messages when using JangoMail as relay server
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
症状
The links on the JIRA mail messages may point to an invalid URL instead of a JIRA link (such as http://jira.baseurl.com/browse/ABC-123).
診断
When enabling the Outgoing Mail logs on Administration -> Troubleshooting and Support -> Logging & Profilling, you'll see the content of the mail message being created with valid links on atlassian-jira-outgoing-mail.log. However, the same links will be modified when the message is delivered into your mail client.
原因
Since the mail message is being generated correctly in JIRA, this is a misconfiguration on JangoMail. It has a feature called Click Tracking which is enabled by default, and it does modify the JIRA links into the mail content.
ソリューション
- In JangoMail, click in Settings -> expand the Tracking session -> General Option.
- Unmark all the checkboxes on it:
- Activate Open Tracking;
- Activate Click Tracking;
- Exclude Text.
In case of any doubt in performing the steps above, please contact the JangoMail support.