Page tree

Versions Compared

Key

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

See the Project Settings - Notification Policies and Repository Settings - Notification Policies for creating, deleting and editing notification policies. 

Bitbucket has a complete event subsystem that fires events whenever anything happens inside the application. For example, a  event is fired whenever a repository  is created.

To notify Mattermost from Bitbucket when a repository is created, your Bitbucket Administrator will set up the correct policy.  Then, when a repository is created from Bitbucket, the designated Mattermost channel will receive a notification. 

Example:

A Bitbucket user creates a repository namedXXX.  This project has, for its project channels, the Mattermost channel XXX.  With a "Repository Created" notification policy set for the project, the following notification would be seen in the XXX channel upon repository creation:


The date/time of creation are shown.  The notification shows the issue type, reporter, assignee, priority, status and resolution status. was created by the user  in JIRA. 

A link is provided to the issue in JIRA.


Here are the results in Mattermost for the different notifications:

Issues

Issue Created

Image Removed

Issue Updated - Priority changed.

Image Removed

Issue DeletedIssue Closed

Image Removed

Issue Resolved

Image Removed

LinksIssue has been linked to another issue.

Image Removed

Issue link deleted

Image Removed

CommentsComment Created

Image Removed

Comment Edited

Image Removed

Comment Deleted

Image Removed

Repository Events

Code pushed


Branch created


Branch deleted
Pull Request Events
Opened


Commented
Declined
Deleted
Merged
Reopened
Rescoped
Reviewed
Approved
Unapproved
Updated