##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-id
attribute 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>
Yup see something similar here...
scheduler caught exception:
JIRA::HTTPError
/home/martin.stevens/.rvm/gems/ruby-1.9.3-p551/gems/jira-ruby-0.1.14/lib/jira/request_client.rb:14:in
request' /home/martin.stevens/.rvm/gems/ruby-1.9.3-p551/gems/jira-ruby-0.1.14/lib/jira/client.rb:159:in
request'/home/martin.stevens/.rvm/gems/ruby-1.9.3-p551/gems/jira-ruby-0.1.14/lib/jira/client.rb:138:in
get' /home/martin.stevens/.rvm/gems/ruby-1.9.3-p551/gems/jira-ruby-0.1.14/lib/jira/resource/issue.rb:54:in
jql'/home/martin.stevens/.rvm/gems/ruby-1.9.3-p551/gems/jira-ruby-0.1.14/lib/jira/base_factory.rb:33:in
block (2 levels) in delegate_to_target_class' /home/martin.stevens/sweet_dashboard_project/jobs/sprint_progress.rb:12:in
block in <top (required)>'