A collection of Hubot scripts to perform tasks in Visual Studio Online.
Hubot scripts for Visual Studio Online provides many commands to perform tasks in Visual Studio Online.
The scripts can run in two modes
To install, in your Hubot instance directory
npm install hubot-vso-scripts
Include the package in your hubot's external-scripts.json
If you are using impersonate mode (OAuth), you will need to re-register your application on Visual Studio Online.
This is needed, because version 1.0 has introduced a more granular scope and we now request less permissions
You will need to register the application with the following permissions
Then you need to update you environment variables with your app id and your app secret (authorize URL stays the same)
The scripts will automatically detect the situation and ask the users to (re) authorize hubot scripts.
The required environment variables are
Message replies are by default sent in plaintext, but if your adapter is capable of receiving messanges in other format you can configure the scripts to use a different formatting
In trust mode we need to set the alternate credentials of the user who will perform the tasks
In impersonate we need to set the variables defined in the application registered in Visual Studio Online (Click here to know how to register an application in Visual Studio Online