Commit Email Notifications

warning
This feature is available starting v2.6.29 of the Git Add-on.

Permissions

The user must have the following permissions to get notifications:

  • developer access to the project
  • developer access to at least one project which is mapped to the repository
  • developer access to at least one project and the repository is mapped to all projects.

Settings

Access the settings for this feature via:

  • Git add-on General Settings. Jira Server
  • General commit notification setting
  • Connect to Git Repository  >  Advanced Setup and Git Repositories (sidebar) > Edit Repository screens.
  • Commit notification Advanced/edit repo screens
    notes
    Settings #1 and #2 also includes commit notification emails related to smart commits.
  • Jira User Profile  >  Git Integration for Jira preferences  >  Git Commit Emails.
    User profile git commit emails configuration This setting allows an individual user to receive or to stop receving any of the notification emails.

Watching

The user will get notifications when watching an issue or repository.  The user will receive repository commit notifications if that repository is being watched by the user.  If the user watches an issue, any commit related to the issue will be sent to that user as notifications.

fyi
The user will get notifications from own commits if the My Changes setting in the User Profile  >  Preferences is set to Notify me.
helpful tip
The user can watch repositories in the Repository Browser.  Select a repository under the Git menu then click the Start watching label to activate repository email commit notifications.
Watching git repository for commit notifications

User Profile Settings

By default, Jira email notification format is text-only.

Text formatted email notification

You can change this setting to HTML by going to User Profile > Preferences. Click the Edit pencil icon.

The following dialog is displayed:

User profile update pref settings

Change the Email Type to HTML.  Click Update to save the changes. The email notifications that you receive will now be in HTML format.

HTML formatted commit email notification