Scripted data sources (for Jira REST)

Eclipse BIRT supports scripted data sources. It is a way to import any third-party data source and transforms the results into records (a data set) that BIRT understands.

In order to get started quicker, we have made a very simple utility library that allows accessing Jira REST API (only GET is supported) to fetch data:

 

 

It has to be added to the Eclipse BIRT Report Designer’s classpath:

 

This BIRT report is a very basic example of a scripted data source to display all the Jira reports:

 

How to configure it?

 

Edit the open event and change the Jira base URL and the user’s credentials:

 

 

Do not forget to remove the user’s credentials from the report before upload it into Jira.