See the Amplifier for Mattermost for JIRA Project Administration Guide for Project Settings - Notification Policies and Repository Settings - Notification Policies for creating, deleting and editing notification policies.
JIRABitbucket has a complete event subsystem that fires events whenever anything happens inside the application. For example, an ISSUE_CREATED a event is fired whenever an issuea repository is created.
To notify Mattermost from JIRA Bitbucket when an issue a repository is created, your JIRA Project Bitbucket Administrator will set up the correct policy. Then, when an issue a repository is created from JIRA for that projectBitbucket, the designated Mattermost channel will receive a notification.
Example:
A JIRA user creates an issue of type Task in the project HerzumAmplifierDemo (project key HQ)Bitbucket user creates a repository namedXXX. This project has, for its project channels, the Mattermost channel Amplifier DevelopmentXXX. With an issue created a "Repository Created" notification policy set for the project, the following notification would be seen in the Amplifier Development XXX channel upon issue 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 | |
Issue Updated - Priority changed. | |
Issue Deleted | |
Issue Closed | |
Issue Resolved | |
Links | |
Issue has been linked to another issue. | |
Issue link deleted | |
Comments | |
Comment Created | |
Comment Edited | |
Comment Deleted |