##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>
Hi,
First thanks for the nice widget. I'm getting the following error though:
scheduler caught exception:
undefined method
+' for nil:NilClass /home/ubuntu/dashing-encompass/jobs/sprint_progress.rb:14:in
each'/home/ubuntu/dashing-encompass/jobs/sprint_progress.rb:14:in
reduce' /home/ubuntu/dashing-encompass/jobs/sprint_progress.rb:14:in
block in <top (required)>'/home/ubuntu/.rvm/gems/ruby-2.1.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in
call' /home/ubuntu/.rvm/gems/ruby-2.1.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in
trigger_block'/home/ubuntu/.rvm/gems/ruby-2.1.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in
block in trigger' /home/ubuntu/.rvm/gems/ruby-2.1.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in
call'/home/ubuntu/.rvm/gems/ruby-2.1.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_job'
Any idea?
Thanks,