Page tree

Versions Compared

Key

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

JIRABitbucket has a complete event subsystem that fires events whenever anything happens inside the application. For example, an ISSUE_CREATED an event is fired whenever an issuea branch is created or a pull request is merged.

To notify Mattermost from JIRA Bitbucket when an issue a branch is created, your JIRA Project Bitbucket Administrator will set up the correct policy.  Then, when an issue a branch is created from JIRA for that projectin a repository in Bitbucket, the designated Mattermost channel will receive a notification. 

Example:

A JIRA Bitbucket user creates an issue of type Task in the project HerzumAmplifierDemo (project key HQ)a branch in the repository namedApolloUI.  This repository belongs to the project Team.  This project has, for its project channels, the Mattermost channel Amplifier DevelopmentBitbucket.  With an issue a "branch created" notification policy set for the project, the following notification would be seen in the Amplifier Development Bitbucket channel upon issue branch creation:

Image RemovedImage Added


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 JIRABitbucket project (Team), the repository (ApolloUI) and the name of the branch (adam).

Links to Bitbucket are provided for team, repository and branch.


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

Image Added

Branch created

Image Added

Branch deleted

Image Added

Pull Request Events
Opened

Image Added

Commented

Image Added

Declined

Image Added

Deleted

Image Added

Merged

Image Added

Reopened

Image Added

Reviewed

Image Added

Approved

Image Added


Unapproved

Image Added

Updated

Image Added