##Preview
Simple Dashing widget that displays a progress meter for your current JIRA sprint, with the completed and total point values at the bottom.
##Usage
#####Dependencies
Add jira-ruby to the gemfile:
gem 'jira-ruby'
and then just run
$ bundle install
#####Setup
To install this widget, simply run dashing install a1dae02d476f6055f82a.
Then substitute the following placeholders in sprint_progress.rb with the appropriate values:
ENV['JIRA_USERNAME']=> your JIRA username (optionally can be placed in your environment variables fileENV['JIRA_PASSWORD']=> your JIRA password (also optionally can be placed in your environment variables filehttps://your-jira-instance.atlassian.net=> the location of your JIRA instanceSPRINT_WIDGET_DATA_ID=> the target HTML element'sdata-idattribute in your layout
Finally, to include the widget on a dashboard, drop the following snippet into your layout:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-view="SprintProgress" data-id="whatever_id_you_like"></div>
</li>

closed_points = client.Issue.jql("sprint in openSprints() and status = \"resolved\" AND sprint not in futureSprints() AND \"Story Points\">0").map{ |issue| issue.fields['customfield_10012'] }.reduce(:+) || 0 total_points = client.Issue.jql("sprint in openSprints() AND sprint not in futureSprints() AND \"Story Points\">0").map{ |issue| issue.fields['customfield_10012'] }.reduce(:+) || 0This seems to be working now if anyone needs it