Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Integrate Jira Data in the Pentaho Report Designer
Publish reports based on Jira data in the Pentaho BI tool.
The CData JDBC driver for Jira data enables access to live data from dashboards and reports. This article shows how to connect to Jira data as a JDBC data source and publish reports based on Jira data in Pentaho.
About Jira Data Integration
CData simplifies access and integration of live Jira data. Our customers leverage CData connectivity to:
- Gain bi-directional access to their Jira objects like issues, projects, and workflows.
- Use SQL stored procedures to perform functional actions like changing issues status, creating custom fields, download or uploading an attachment, modifying or retrieving time tracking settings, and more.
- Authenticate securely using a variety of methods, including username and password, OAuth, personal access token, API token, Crowd or OKTA SSO, LDAP, and more.
Most users leverage CData solutions to integrate Jira data with their database or data warehouse, whether that's using CData Sync directly or relying on CData's compatibility with platforms like SSIS or Azure Data Factory. Others are looking to get analytics and reporting on live Jira data from preferred analytics tools like Tableau and Power BI.
Learn more about how customers are seamlessly connecting to their Jira data to solve business problems from our blog: Drivers in Focus: Collaboration Tools.
Getting Started
Connect and Create a Report
- Copy the JAR file of the driver, located in the lib subfolder of the installation directory, to the \Report-Designer\lib\jdbc\ folder in the Pentaho directory.
- Run the report-designer.bat file in the \Report-Designer\ folder to open the Report-Designer UI.
Create a new data source with the driver by clicking Data -> Add Data Source -> Advanced -> JDBC (Custom) and then creating a new Jira connection. In the resulting dialog, configure the connection properties as shown below.
Custom Connection URL property: Enter the JDBC URL. This starts with jdbc:jira: and is followed by a semicolon-separated list of connection properties.
To connect to JIRA, provide the User and Password. Additionally, provide the Url; for example, https://yoursitename.atlassian.net.
Built-in Connection String Designer
For assistance in constructing the JDBC URL, use the connection string designer built into the Jira JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.jira.jar
Fill in the connection properties and copy the connection string to the clipboard.
When you configure the JDBC URL, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
Below is a typical JDBC URL:
jdbc:jira:User=admin;Password=123abc;Url=https://yoursitename.atlassian.net;
- Custom Driver Class Name: Enter cdata.jdbc.jira.JIRADriver.
- User Name: The username to authenticate with.
- Password: The password to authenticate with.
Add Jira Data to a Report
You are now ready to create a report with Jira data.
-
Add the Jira source to your report: Click Data -> Add Data Source -> JDBC and select the data source.
Configure the query. This article uses the one below:
SELECT Projects.LeadName, Issues.Summary FROM Projects, Issues WHERE Projects.Id=Issues.ProjectId
- Drag a chart onto your report and double-click it to edit the chart. Run the report to display the chart. You can use the results of this query to create a simple chart for the Issues table.
- Finally, run the report to see the chart.