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 the Jira icon in the top left > Salesforce > Connections.
    If you are using Jira Server, click Settings > Add-ons, and then in the sidebar, go to SalesforceConnections.

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

  3. Scroll down to Salesforce Notification Settings and click the toggle button to switch the feature on.

  4. Click Apply Changes to save your settings.

    toggle Simple email notification in Salesforce

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.

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

Sender Address

  • Enter the email address of the organization-wide email in this field if the Sender Address is set to Organization-Wide Email Address. Otherwise, this field is ignored.

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.