Overview
This article explains how to add and configure a new datasource for Custom Reports.
On this page: |
Add a Datasource
From Dashboard Hub, click and select Add Datasource. The datasource selection window displays.
Select Custom Report. The Custom Report configuration form displays.
Provide a descriptive name for the datasource.
Enter the Jira instance URL.
Select an authorization type and enter any required values for that selection.
Click Add to create the datasource.
Add a Custom Report
From your dashboard, add a Custom Report.
In the configuration window, select Load Template.
Select the datasource added previously.
Click Open Editor. The JSON for the fields in the datasource displays and can be configured.
Configure the datasource
You will see
datasource://
pre-populated with the URI of the datasource.Optionally, define a JQL query variable using
${jql}
syntax. Set the JQL query value in the designated field.The response from the API will be mapped to a table.
Define the columns in the table by mapping attributes and fields returned by the API:
key
: maps to the issue key.fields.summary
: maps to the issue summary field.fields.status.name
: maps to the issue status name.
Save the report configuration.