Change the "From" header of emails sent from ScriptRunner For Jira

お困りですか?

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

コミュニティに質問

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

The solution provided in this article requires the usage of a third-party add-on ScriptRunner For Jira, which is unsupported by Atlassian. If you face any issue while trying this solution, please reach out to the add-on support team for further assistance.

要約

Want to change the email header coming from ScriptRunner from "ScriptRunner for Jira (Jira)" to a custom from field like "Alpiq Jira Notifications", but only for ScriptRunner.

環境

Jira Software, Scriptrunner, Cloud

ソリューション

It is possible to make the change through the scriptrunner by inserting the following custom code.

For the “from” name, in Jira email requests you can set the customFrom.name attribute to the name you want provided that your emails don’t have many actors (which is usually due to the batching).
In the request payload, add the following JSON:

"customFrom": { "name": "Your name", "address": "your email address" }


As of now it may not be possible to do from the Jira side, as we do not have a feature for custom set up.
The only available option is for the admin to make the changes globally as mentioned in the below KB article.
https://confluence.atlassian.com/jirakb/how-to-change-the-sender-s-name-of-the-jira-notifications-967334941.html





最終更新日 2022 年 4 月 28 日

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

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