Tool for counting bugs on Zendesk (for feeding a dashboard metric)
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
zendesk-bug-counter.rb

README.md

Usage

$  ./zendesk-bug-counter.rb --email me@mydomain.com --password mypassword --url-prefix myorg somefeature

Date,Bug Count
2012-06-15T00:00:00+00:00,1
2012-06-22T00:00:00+00:00,1
2012-07-05T00:00:00+00:00,6
2012-07-06T00:00:00+00:00,1

Posting the stats to a dashboard widget

See: jimlindstrom/csv-to-ducksboard and Ducksboard

$  ./zendesk-bug-counter.rb --email me@mydomain.com --password mypassword --url-prefix myorg somefeature > bugs-somefeature.csv

$ ./csv-to-ducksboard.rb --api-key <API KEY> --widget-id 99999 \
                         --column datetime --column value \
                         --num-header-rows 1 \
                         bugs-somefeature.csv