Configure email notifications to notify Salesforce users

It is possible to configure a connection to send email notifications to all Case owners whenever a Jira comment is created or updated.

Configure email notifications

  1. If using Jira Cloud, click Settings ( ) in the top right corner. Under CONNECTOR FOR SALESFORCE, click Connections.
    If you are using Jira Server, click Settings > Add-ons, and then in the sidebar, go to SalesforceConnections.

  2. Choose the connection to configure, then under Operations, click Configure.

  3. Scroll down to Salesforce Notification Settings and toggle Simple Email Notification to enable the feature.

    toggle Simple email notification in Salesforce
  4. Select a Sender Type.
    The email address used as the email's From and Reply-To addresses can be one of the following:

    • Current User: The email address of the user running the flow. For example, the Salesforce user who has authorized the Salesforce Connection in Jira.

    • Default Workflow User: The email address of the default workflow user of the Salesforce organization.

    • Organization-Wide Email Address: A specific organization-wide email address that needs to be specified in Connection Configuration.

  5. If the Sender Type is set to Org-Wide Email Address, enter the address of the organization-wide email. Otherwise, this field is not required.

  6. Scroll to the bottom of the page and click Apply Changes to save your settings.

For more information on configuring Organization-Wide Email Addresses, consult the Salesforce documentation.

Email Format

An email is sent out to Case owners.

example of email format after configuration in Salesforce
  • The email has a fixed format.

  • The email subject is similar to Jira emails that are sent out for comments and issue update notifications.

Conditions and Limitations

For the notification emails to be sent out, the following must be true:

  • The connection to Salesforce is properly authorized.

  • Case objects are supported.

  • The Notify by Simple Email flag is enabled for the connection.

  • A valid sender is configured.

For a comment creation or update to trigger the notification email:

  • The issue the comment belongs to must be associated with at least one Case object in Salesforce.

  • The association is not view only (for example, it is a synchronized association).

  • The body of the comment (created or updated body) satisfies existing Jira Comment Privacy filters (Show All, Viewable by All Users). Currently, this configuration is only visible on the Salesforce package configuration page.

  • The body of the comment satisfies existing Jira Comment Tag filters. Currently, this configuration is only visible on the Salesforce package configuration page.

Known limitations

  • The email body is in plain text. HTML is currently unsupported. This is a known limitation of the Salesforce simpleEmail API.