Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Power Dashboard Reports and Gadgets allow users to write SIL code and use the predefined chart structures in order to generate line, bar, pie or doughnut charts.

Contents

Table of Contents

Configuring SIL Reporting Gadget

First you need to add the SIL Reporting Gadget to your dashboard. To do that, click Add new gadget. In the Add new gadget dialog, click Load all gadgets. Search for the SIL Reporting Gadget and add it to your dashboard.

To see more instructions about adding a gadget to your dashboard see Atlassian documentation.

The configuration screen is only available to Jira Administrators and System Administrators.

To configure the gadget you have to select the script file and add the default values for the parameters used in the selected script.

Image Added

The parameters will be passed into the program using the argv variable. The values will be available using a construct like argv["parameter_name"] or argv[position]. For the above example, the project can be retrieved using argv["project"] or argv[0]

First the gadget will run with the default values for the parameters, if the values for those parameters were specified in the gadget configuration. 

Once you save the gadget configuration, the report will be displayed. 

Note

The script that you are using to generate the report needs to return the chart structure that you are building otherwise the report will throw an error.


If you want to return information about another project without having to configure the gadget, all you have to do is add a field for the project using one of the routines for creating fields from gadget routines. After that you will be able to set parameter in the parameter section and run the report with the new value.

Image Added

Anchor
Examples
Examples
Examples

Opened vs Resolved Issues Report

Include Page
Opened vs Resolved Issues (Chart Report)
Opened vs Resolved Issues (Chart Report)

Issues in status report

Include Page
Issues in status report
Issues in status report

Chart from JSON

Include Page
Chart from JSON
Chart from JSON