HipChat with VSTS

Post messages to a room in HipChat in response to events from VSTS. For example, when code is pushed, or a build occurs.

Get a HipChat authorization token

  1. If you don't have a HipChat account, get one here.

  2. In HipChat, get a room token.

    Create the token

  3. Copy the token.

    Copy the token

Post a message to a room

  1. Go to your VSTS project service hooks page: https://{account_name}.visualstudio.com/{project_name}/_apps/hub/ms.vss-servicehooks-web.manageServiceHooks-project

    Team project administration page

    Click Create Subscription.

  2. Choose HipChat.

    Select service dialog, HipChat selected

  3. Configure the VSTS event that you want to post a message in HipChat.

    Configure the event

  4. Tell HipChat what to do when the event occurs.

    Configure the action

  5. Test the service hook subscription and finish the wizard.

    Test it

Now the messages are setup. Go to HipChat and see the messages appear.

HipChat room

Pricing

VSTS doesn't charge for the framework for integrating with external services. Check out the specific service's site for pricing related to their services.

Q & A

Q: Can I programmatically create subscriptions?

A: Yes, see details here.

Q: Where can I get more information about HipChat?

A: At hipchat.com.