All eazyBI for Jira eazyBI for Confluence Private eazyBI

Email customization for dashboard subscription
eazyBI for Jira eazyBI for Confluence Private eazyBI

You can customize the subject and body of the email that eazyBI sends with dashboard subscriptions. You can set a template for a single dashboard or a global template for all dashboards.

eazyBI uses two levels of templates:

If neither template is set, eazyBI uses the default email text.

Dashboard-specific email customization

The option to customize the email for a specific dashboard is available on Cloud and since eazyBI version 9.0.

A user with the role to manage dashboards in the account can set a custom email subject and body for each dashboard independently. These settings apply to a particular dashboard and override the global email template when configured.

  1. Open the dashboard and select More actions (three-dot menu) > PDF options.
  2. Click Edit next to Subscription email subject or Subscription email body and enter the text. Template variables work in both fields, and Markdown formatting works in the body.
  3. Click Save. To use the global template for this dashboard again, clear the fields and save.

Global email customization

The option to customize the global email template in eazyBI settings is available on Cloud and since eazyBI version 9.1 (not released yet).

The global template applies to all dashboards in the eazyBI instance, and eazyBI admins can set a global email subject and body. However, a dashboard-specific template overrides it.

  1. Open eazyBI advanced settings or site settings for Cloud and select the Email tab.
  2. Click Edit next to Email subject or Email body and enter the text.
  3. Click Update email settings.
email global settings.png

You can use the same template variables and Markdown formatting as in the dashboard-specific template.

Global email customization before version 9.1

In eazyBI for Jira Data Center versions before 9.1, you can customize the global email template with a locale file.

Customizations in the locale file can conflict with future eazyBI versions. After each eazyBI upgrade, review and test your customizations.

  1. Create the directory JIRA_HOME/data/eazybi/locales and, in it, a .yml file, for example, custom_email.yml.
  2. Edit the subject and body_html values. The default content is:

    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.

Locale file details:

After you save the file, disable and re-enable the eazyBI app in Jira administration > Manage apps.

Template variables and formatting

Use these template variables in the subject and body of the dashboard-specific and global templates:

In the email body, you can use Markdown formatting, such as headings, lists, bold and italic text, and links. A URL in the body automatically becomes a link.

At the end of the email, eazyBI adds a link to the dashboard subscription settings.