Skip to content

Instantly share code, notes, and snippets.

@ehues
ehues / wi.js
Created March 15, 2015 01:52
Script that finds all open work items in a hierarchy and records the subscriber and vote counts for each WI
var request = require('request');
var fs = require('fs');
var Promise = require('promise');
function WorkItems(repo, username, password) {
this.req = request.defaults({
jar: request.jar(),
followAllRedirects: true,
rejectUnauthorized: false
});