##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>
I am getting this error :
bundler: failed to load command: thin (/usr/local/bin/thin)
'SyntaxError: /var/lib/gems/1.9.1/gems/jira-ruby-1.4.0/lib/jira/resource/project.rb:30:
syntax error, unexpected tLABEL, expecting ')'
def users(start_at: nil, max_results: nil)
^
/var/lib/gems/1.9.1/gems/jira-ruby-1.4.0/lib/jira/resource/project.rb:30:
Can't assign to nil
def users(start_at: nil, max_results: nil)
^
/var/lib/gems/1.9.1/gems/jira-ruby-1.4.0/lib/jira/resource/project.rb:43:
syntax error, unexpected keyword_end, expecting $end
/var/lib/gems/1.9.1/gems/backports-3.8.0/lib/backports/std_lib.rb:9:in
require' /var/lib/gems/1.9.1/gems/backports-3.8.0/lib/backports/std_lib.rb:9:in
require_with_backports'/var/lib/gems/1.9.1/gems/jira-ruby-1.4.0/lib/jira-ruby.rb:21:in
<top (required)>' /var/lib/gems/1.9.1/gems/backports-3.8.0/lib/backports/std_lib.rb:9:in
require'/var/lib/gems/1.9.1/gems/backports-3.8.0/lib/backports/std_lib.rb:9:in
require_with_backports' /home/bpmuser/test/jobs/sprint_progress.rb:1:in
<top (required)>'/var/lib/gems/1.9.1/gems/backports-3.8.0/lib/backports/std_lib.rb:9:in
require' /var/lib/gems/1.9.1/gems/backports-3.8.0/lib/backports/std_lib.rb:9:in
require_with_backports'/var/lib/gems/1.9.1/gems/smashing-1.0.0/lib/dashing/app.rb:171:in
block in require_glob' /var/lib/gems/1.9.1/gems/smashing-1.0.0/lib/dashing/app.rb:170:in
each'/var/lib/gems/1.9.1/gems/smashing-1.0.0/lib/dashing/app.rb:170:in
require_glob' /var/lib/gems/1.9.1/gems/smashing-1.0.0/lib/dashing/app.rb:181:in
<top (required)>'/var/lib/gems/1.9.1/gems/smashing-1.0.0/lib/dashing.rb:3:in
require' /var/lib/gems/1.9.1/gems/smashing-1.0.0/lib/dashing.rb:3:in
<top (required)>'config.ru:1:in
require' config.ru:1:in
block in/var/lib/gems/1.9.1/gems/rack-1.5.5/lib/rack/builder.rb:55:in
instance_eval' /var/lib/gems/1.9.1/gems/rack-1.5.5/lib/rack/builder.rb:55:in
initialize'config.ru:1:in
new' config.ru:1:in
'/var/lib/gems/1.9.1/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in
eval' /var/lib/gems/1.9.1/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in
load'/var/lib/gems/1.9.1/gems/thin-1.6.4/lib/thin/controllers/controller.rb:182:in
load_rackup_config' /var/lib/gems/1.9.1/gems/thin-1.6.4/lib/thin/controllers/controller.rb:72:in
start'/var/lib/gems/1.9.1/gems/thin-1.6.4/lib/thin/runner.rb:200:in
run_command' /var/lib/gems/1.9.1/gems/thin-1.6.4/lib/thin/runner.rb:156:in
run!'/var/lib/gems/1.9.1/gems/thin-1.6.4/bin/thin:6:in
<top (required)>' /usr/local/bin/thin:23:in
load'/usr/local/bin/thin:23:in `<top (required)>'
I am using the smashing plugin for Jenkins status collection and on top of it I installed sprint progress.
Could you please help me on this?