Email customization for dashboard subscription
eazyBI for Jira
eazyBI for Confluence
Private eazyBI
Users can subscribe to receive a regular email with dashboard reports as a PDF attachment. To enable this functionality, make sure you have installed the headless Google Chrome browser on your Jira server.
eazyBI provides two levels of email customization for dashboard subscriptions:
- dashboard-specific settings configured directly in the eazyBI interface,
- global settings applied to all dashboards in a Jira instance via a server-side configuration file.
Dashboard-specific email customization
Dashboard-specific email customization is available in the Cloud and since eazyBI version 9.0 (not released yet).
You can set a custom email subject and body for each dashboard independently. These settings apply to the scheduled subscription email for that particular dashboard and override the global email template when configured.
- Open the dashboard to configure email customization for it. Then click More actions (the three-dot menu) → PDF options.
- Fields Subscription email subject and Subscription email body are locked by default to avoid unintentional activities. Click on the Edit next to the field name to unlock it and change its content.
- You can use the following template variables in both the subject and the body:
{{account_name}}— the name of the eazyBI account{{dashboard_name}}— the name of the dashboard{{user_name}}— the name of the subscribed user{{dashboard_url}}— the URL of the dashboard
- In the email body, you can use Markdown formatting to organize the text.
- Save the settings.
Global email customization
Global email customization is available only for the Data Center and Private eazyBI, not in the Cloud.
Keep in mind that customizations might interfere with the standard eazyBI functionality and may conflict with future eazyBI versions. Please review and retest your customizations after each eazyBI version upgrade.
You can customize your email body when the eazyBI dashboard email subscription is enabled. Customization would not be possible for the Jira Cloud add-on.
- First, create a directory
JIRA_HOME/data/eazybi/localesand create there a customization file with.ymlextension (i.e., custom_email.yml or any other name can be used) and the following content. Next, you could edit the content of this file to customize the text in the
body_htmlsection.en: dashboard_mailer: pdf_export: subject: "[eazyBI] Dashboards - %{account_name}" body_html: | Hello %{user_name}! Please see attached dashboard pages from eazyBI account <strong>%{account_name}</strong> . %{subscription_settings}<br/> Kind regards, eazyBI subscription_settings: eazybi_html: | If you would like to change dashboards email subscription settings then please visit <a href="%{page_url}">eazyBI dashboards</a> page.
Here is the list of possible variables that you can use in the body of the email
| account_name | Returns the name of the eazyBI account |
|---|---|
| user_name | Returns the name of the user who subscribed to the dashboard |
| subscription_settings | Returns a link to the dashboard subscription settings with an additional sentence: "If you would like to change dashboards email subscription settings then please visit eazyBI dashboards page." You can change this text by changing the text in the "subscription_settings" part. Parameter page_url will be replaced with the URL to the page where the dashboard is created in eazyBI. |
When you edit *.yml file, keep in mind:
- You can name the file as you want - all localization files from
JIRA_HOME/data/eazybi/localeswill be loaded - The file is in a YAML format, which is indentation sensitive - please do not break the indentation hierarchy as then it will fail to load
This .yml file is common for all eazyBI accounts (for one JIRA instance) and can't be specified for each eazyBI account separately.
After updating translations, please disable and then re-enable the eazyBI plugin from the Jira administration Add-ons page.

