Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can configure  configure Connector for Salesforce & Jira to send email notifications when an event is triggered.

The set up setup consists of two parts:

  1. Specifying Jira groups to notify, in Jira.
  2. Creating and deploying required Apex triggers, in Salesforce.

At the moment, the Connector supports sending email notifications to Jira users when someone creates a Case comment.

Specifying Jira Groups to notify

Jira groups can be specified at the Connection level. This affects each binding and Jira project that is using the Connection.

  1. Go to Image Removed Image Added> Apps, and then in the sidebar, under Salesforce, choose Connections.
  2. At the Salesforce Connections screen, go to the Connection you want to configure > Configure.
  3. Under Notification Settings, choose who you want to send notifications to by selecting All recipients of Issue Commented eventCurrent Assignee, Reporter, All Watchers, All Voters and/or Groups.
    For more information about All recipients of Issue Commented event, see "Sending Notifications Based on a Project's Notification Scheme".
    Image Removed Image Added

  4. Click Save.

Sending notifications based on a Project's notification scheme

The All recipients of Issue Commented event setting allows you to enable email notifications that are defined within your Jira's Notification Scheme.

...

  • Current Assignee
  • Reporter
  • Single User 
  • Group
  • All Watchers

Creating and deploying Apex triggers

The Connector relies on Apex triggers to be informed of changes on Salesforce objects. These triggers have to be created and deployed manually in Salesforce.

For Salesforce Enterprise and Unlimited editions, the standard deployment of Apex triggers are required (see Salesforce documentation).

Notifying Jira of new comments on Cases

This provides notifications when someone creates a comment in Salesforce.

...

A successful email notification may look like this:

Image RemovedImage Added

Adding CaseComment trigger

...