Table Reports
The table report is a simple way to display your data in a table format using the Simple Issue Language™ (SIL) . SIL provides predefined structures and routines that comes in help for generating such a report.
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 sil script file and add the default values for the parameters used in the selected script.
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["projects"] 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.
The script that you are using to generate the report needs to return the table structure that you are building otherwise the report will throw an error.
If you want to return information about another projects without having to configure the gadget, all you have to do is add a field for the projects 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.
Examples
Opened vs Resolved Issues Report
This particular example will generate a table report showing the number of opened issues vs number of resolved issues for a given list of projects.
|
For more information about the predefined structures that comes in help for the table reports check the predefined structure types page.
Opened vs Resolved Issues Report Transposed
Another feature that comes out of the box with the help of silreporting_transposeTable routine is the ability to transpose the table adn add custom headers after performing the operation.
|
Now you can see all the projects and the issues that are in Opened status and Resolved status but as a transposed table.
Opened vs Resolved Issues Report Average and Sum
You can also use the silreporting_sumTable and silreporting_avgTable routines which will help you to sum up or average the data in your table. A footer will be automatically created with the results of the sum/average operation.