Customising the Confluence email templates is not supported. If you do decide to edit the templates we strongly recommend you use a test instance of Confluence. 

Any customisations you make to the Confluence email notification templates will need to be reapplied after upgrading Confluence.

Email notification templates are contained within the confluence-email-resources plugin, which is a bundled plugin (add-on) that is installed automatically when you install Confluence. 

Only administrators with access to the server where Confluence is running can modify the Confluence email templates.

Confluence uses Soy templates (also known as Closure templates) for email notifications. You can find out more in the Google Developer docs or see our developer tutorial which contains a short introduction to using Soy templates.

 メール通知テンプレートを変更する方法:

  1. In the Confluence web application folder, find the file /confluence/WEB-INF/atlassian-bundled-plugins/confluence-email-resources-x.x.jar
    Note: This plugin is independently versioned, the version number will not necessarily match Confluence's version number.  
  2. Copy this file to a working location and extract the jar file. Find out more about how to edit files within .jar archives.
  3. jar ファイル内では、テンプレートは /templates/ フォルダに格納されています。Soy テンプレートを編集し、変更を加えます。 
  4. Zip all the files and change the file extension to .jar.
  5. In your Confluence test instance go to Confluence Admin > Manage add-ons and upload your new jar file. 
  6. 更新されたプラグインを製品にインストールする前に、変更を慎重にテストします。

We strongly recommend you use a test instance for editing the templates contained within the plugin.  If you are unable to enable the plugin, check the Confluence logs for information, it may be that there are problems with your edits to the Soy templates. 

関連トピック
  • ラベルなし