Stash is now known as Bitbucket Server.
See the

Unknown macro: {spacejump}

of this page, or visit the Bitbucket Server documentation home page.

メタデータの末尾にスキップ
メタデータの先頭に移動

Stash can send a notifications to a HipChat room for activities performed in a Stash project or repository, and it works with HipChat Server or Cloud. Learn more about HipChat.

このページの内容

どのような種類の通知を受け取ることができますか?

The HipChat integration lets Stash send the following notifications to your HipChat rooms:

  • プル リクエスト — 作成、コメント追加、マージ、却下時
  • コミット — プッシュ、コメント追加時

 

Here's an example of what you might see (from an Atlassian HipChat room):

Install and configure the HipChat for Stash integration

To enable Stash to send notifications in HipChat you must connect Stash to your HipChat instance. In order to do this you need administration privileges for your Stash instance and for HipChat.

To integrate Stash and HipChat

  1. Select Administration Settings > HipChat integration
  2. If using HipChat Cloud, click the Connect HipChat button, which takes you to HipChat.com sign up page.
    If using HipChat Server, click the link below the Connect HipChat button, enter your HipChat server URL, then click Connect HipChat.
  3. Log in to HipChat with an account that has admin rights. 
  4. Click Install to finish installing the Stash HipChat Addon.
  5. Select the repository that you want to send notifications from, and the HipChat room where you want the notifications to appear.
    • 1 つのリポジトリの通知を受け取るルームを複数選択できますが、各接続は個別に追加する必要があります。 
    • 通知を送信するリポジトリすべてについて、このプロセスを繰り返します。

In HipChat, you will see a notification in your room telling you that notifications were enabled.


Enable HipChat notifications for a repository

Once HipChat and Stash are integrated, you can enable and disable HipChat notifications for a particular repo by going to Settings > HipChat. You must have admin privileges for the project or repository you want to enable notifications for.

Initially, you will need to click the Log in to HipChat button to connect your Stash and HipChat user accounts. If you don't see the Log in to HipChat button you will need to talk to your Stash administrator and get them to install the integration first.

 

Now you can add room links between your repository and rooms in HipChat. Search for the room and press Add to get things going.

 

いくつかのチェックボックスを選択解除して、通知タイプを変更できます。


I'm already using the old HipChat hook

There is a previous integration for Stash and HipChat which has been deprecated. It will continue working until Stash version 4.0. However, you are encouraged to upgrade to the latest version.

Once you are ready to setup the new integration make sure you disable all your configured old integrations.

  1. Go to each repository that has the old hook configured.
  2. Click Disabled to disable the old integration.
     
  3. Setup the new integration by following the steps on this page
  • ラベルなし