Jira burn-down widget for dashing
GitHub location: https://github.com/slam-it/dashing-jira-burndown
Dashing widget to display a Jira (greenhopper) burn-down of the active sprint
In dashboards/layout.erb
, add this script tag:
<script type="text/javascript" src="/assets/canvasjs.min.js"></script>
before this script tag:
<script type="text/javascript" src="/assets/application.js"></script>
Put the files canvasjs.min.js
and dashing-canvasjs.coffee
files in the /assets/javascripts
directory.
Then in assets/javascripts/application.coffee
, add #= require dashing-canvasjs
right after #= require dashing.js
so it looks like this:
# dashing.js is located in the dashing framework
# It includes jquery & batman for you.
#= require dashing.js
#= require dashing-canvasjs
Put the files burndown.coffee
, burndown.html
and burndown.scss
in the /widget/burndown
directory and the file burndown.rb
in the /jobs
directory
Required configuration:
HOST
: Url to your jira server, excluding the trailing slash (/).USERNAME
: Username for a user with sufficient rights on your jira server.PASSWORD
: Password for the user.RAPID_VIEW_ID
: The rapid board view id.
Put the following in your dashboard.erb file to show the status:
<li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
<div data-id="burndown" data-view="Burndown" data-title="Sprint Burndown"></div>
</li>
Hi....I am using this widget in my dashboard and I have to do some modifications in code because it is not showing burn-down chart correctly in some of our scenarios.....Can you please explain working of this code for our understanding as that would help us a lot.