Giter VIP home page Giter VIP logo

workrbot's Introduction

Workrbot

Workrbot is a Auto Moderator/Bot for Microsoft Team Foundation Server. It's main use is to inform users when their bugs/user stories/tasks/etc are not up to scratch or comments are inadequate.

Installation

Workrbot can be installed within IIS and requires an Active Directory user account to run. The below steps show a basic installation.

Create new IIS Application Pool

Open IIS and create a new application pool for Workrbot, once created open 'Advanced Settings' for the pool and turn on 'Load User Profile'

IIS Application pool

Create new IIS Application

This is where Workrbot will be accessed and is where you will need to deploy to. The settings are fairly straight forward for this (remember to select the application pool you created) add iis application

Create Active Directory User Account

Workrbot requires an AD user account to run, no specific permissions are required so just add a basic account.

Add AD User

Grant User Permissions Within TFS

In order to update work items within TFS Workrbot needs some permissions, I have just added it to the Team I want to manage.

Add User to TFS

Deploy to IIS

Deploy Workrbot to your IIS application in your preferred way. I normally do it from visual studio and publish it to the directory of the application however you can do it using web deploy or any other means of getting it to your application.

Configure Workrbot Settings

You should now have a site you can access (assuming you deployed to IIS correctly). Simply navigate to your workrbot instance using your preferred browser and click settings. workrbot settings

Configure TFS Web Hooks

In order for TFS to communicate with Workrbot you need to setup web hooks within TFS (This can be done by hovering over the TFS configureation cog and selecting service hooks). You will then need to add the following web hooks.

  • Work Item Created (Point to http://youriisinstance/workrbot/api/TFS/WorkItemCreated/)
  • Work Item Deleted (Point to http://youriisinstance/workrbot/api/TFS/WorkItemDeleted/)
  • Work Item Restored (Point to http://youriisinstance/workrbot/api/TFS/WorkItemRestored/)
  • Work Item Updated (Point to http://youriisinstance/workrbot/api/TFS/WorkItemUpdated/)
  • Work Item Commented On (Point to http://youriisinstance/workrbot/api/TFS/CommentPosted/)

When adding the web hook you will need to set Resource Version to latest. Don't worry if you test the web hook and it fails (some aren't coded to accept the fake request that is sent when testing). Once all setup you should have something that looks like this hooks

Configure Workrbot

You are almost done! Now just access your Workrbot instance and setup rules to do whatever you want events

workrbot's People

Contributors

tomaustin700 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.