This is a Dashing widget that is based on the Dashing GitHub Stats widget. This widget displays Last Activity, Open Issues, Open Pulls, Forks, and Watchers of a given set of BitBucket repositories.
- You can either copy and paste these files on your own, or you can use
dashing install 15a542122b198449903d
to copy the files into your dashing directory in place. - Edit the bitbucket.yml file to configure the widget. An example configuration is below.
- Add
bitbucket_rest_api
andactionview
gems to your Gemfile and runbundle install
- Add the widget to your dashboard erb file. The
data-id
value is the repository you want to display information for. An example is below.
repos:
- atlassian/atlasboard
- atlassian/atlasboard-atlassian-package
login: my_bitbucket_user
password: my_bitbucket_user
Example 1: bitbucket.yml file example
<ul>
<li> data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="atlassian/atlasboard" data-view="BitbucketStats"></div>
<i class="icon-bitbucket icon-background"></i>
</li>
</ul>
Example 2: dashboard erb widget placement
Can it be customised for a standalone bitbucket server ?