[Other doc versions]
[Doc downloads (PDF, HTML, XML)]
An email server must be configured in Stash for email notifications to be sent. See Setting up your mail server. Note that if the mail server fails, notifications will be dropped. See also HipChat notifications.
Stash sends HTML email notifications to the watchers of a pull request when the following events occur:
|Pull request event||Notification sent|
|A reviewer is added|
|A comment is added|
|A comment is edited|
|A comment is replied to|
|A commit is made to the source branch|
|The pull request is approved|
|The pull request is merged|
|The pull request is declined|
|The pull request is reopened|
Note that you don't receive notifications for events you initiate yourself.
From Stash 2.0 you can use 'mentions' to notify another Stash user about the pull request description or comment you are writing. Stash sends an email to that user.
To use mentions, simply start typing '@' and then the users display name, username or email address, and choose from the list that Stash offers. You can use quotes for unusual names, for example if it has spaces. Use Control-Shift-P or Command-Shift-P to preview the mention.