Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

Announcing RT-REST and RT-Jasper [was: RT and JasperReports Server Integration (got it working, anyone interested?)]

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


mailinglists at boksa

Apr 22, 2012, 10:11 AM

Post #1 of 4 (407 views)
Permalink
Announcing RT-REST and RT-Jasper [was: RT and JasperReports Server Integration (got it working, anyone interested?)]

Hi Everyone,

it's done :-) I have setup two GitHub repositories to host everything you need to run you own RT an JasperReports Server integration:


RT-REST: http://projects.boksa.de/RT-REST/
RT-REST is a Java class library to interact with RT: Request Tracker's REST Interface.

RT-Jasper: http://projects.boksa.de/RT-Jasper/
RT-Jasper is a toolkit to integrate RT: Request Tracker as a queryable data source in JasperServer.


Feel free to give the components a try and let me know what you think :-) I have chosen to drop full installation instructions in favor of a demo system (see the RT-Jasper page for more information) and I assume you already have a RT installation to play with. To learn how to install JasperReports Server please refer to

http://sourceforge.net/projects/jasperserver/files/JasperServer/JasperServer%204.5.0/JasperReports-Server-CP-Install-Guide.pdf/download .

To help you with your questions I'll try to be around in #rt on irc.perl.org .

I am really curious to see what you will say about my work and I hope there will be enough users using it to ensure a constant flow of great ideas and improvements.

Enjoy the rest of your weekends :-)

Benjamin



Am 11.04.2012 um 13:18 schrieb Benjamin Boksa:

> Wow - Thanks a lot for all of your feedback.
>
> I will try to setup a (github-)repository and some basic instructions about setting up RT4 and JasperServer on Debian 6 by the end of next week (April 22). At the moment I have to catch up on the backlog created while writing the integration toolkit - yesterday I started working on the backlog by sending out the first actual quarterly invoices created with it :-D
>
> In the meantime feel free to send me suggestions, tell me about features you would like to see and use cases to be covered so that I can prepare a proposed roadmap as soon as we start! Also I still don't have a name for the project (my local repository is named jasper-rt which seems very boring) - if you have any cool suggestions please share them :-)
>
> @mailinglist admins: Is it OK to use the rt-devel mailinglist for the first basic discussions or should I create a separate mailing list?
>
> Thanks a lot for all your answers, I am sure your interest and feedback will help making this a cool tool.
>
> Benjamin
>
>
>
> Am 09.04.2012 um 13:44 schrieb Robert Blackwell:
>
>> I agree this would be an excellent addition to RT. Is there a project
>> repository set up somewhere? I would be interested using this and
>> helping with the project.
>>
>> Robert
>>
>>
>> On Mon, Apr 9, 2012 at 6:51 AM, Cornell D. Green <cornellgreen [at] gmail> wrote:
>>> This sounds like an excellent addition to RT, a tool I myself have been working with since nearly its inception.
>>>
>>> Not much of a developer myself, I encourage you to consider at least making this available to the RT community, if not actually folding it into the RT code base.
>>>
>>> Cornell D. Green
>>> CIO
>>> CommunIT Solutions
>>> Let's get Your Technology to WORK!
>>> http://CommunIT.us/helpdesk
>>>
>>> On Apr 9, 2012, at 6:39 AM, Benjamin Boksa <mailinglists [at] boksa> wrote:
>>>
>>>> Hi Everyone,
>>>>
>>>> RT has been my primary tool to manage Tickets and other Requests since 2001 (RT 2.x) and I am still using it everyday. During the last few years I integrated some billing functions into RT (by using custom fields, workflows etc.). As a natural consequence I have reached the point where I need a function I could not find in RT itself: easily manageable print layouts (aka PDFs ;-) ) that can be custom tailored to fit my client's needs (e.g. grouping by cost unit).
>>>>
>>>> After a few days of work I now have a completely working system that allows me to create pretty, printable Reports from RT using JasperReports Server [1].
>>>>
>>>> It uses RT's REST API with customizable (query builder) queries and a simple definition (REST Interface URL, Username and Password) to access ticket data from JasperReports Server. I have done so by creating a custom DataSource [2] and a custom QueryExecuter [3] for JasperReports - all you need to know to prepare your data from RT to be used in a Jasper report are the credentials of your instance's REST Interface and the query builder query you would like to run - you should know all of these if you work with RT regularly ;-)
>>>>
>>>> You can then use tools like iReport [4] to design fantastic reporting templates for your RT data including your logo, graphs and many other cool things.
>>>>
>>>> As you already might have guessed I think I have found a pretty good solution to integrate RT and JasperReports Server. Now I am standing at the point where I wonder
>>>>
>>>> a) If this is interesting to the RT community (found some mails back in 2007)?
>>>> b) If anyone of you is interested in joining my efforts to improve the solution?
>>>> c) If there is anything else you would like to know about the solution?
>>>> d) As a part of the project I have also built a single J2EE component (DAO [5]) to access the RT REST Interface - would you like to see this component to be released independently?
>>>>
>>>> I would be glad to get some feedback from you to see if this will be a cool thing for myself or if it makes sense to create a project for the RT community - I have many cool ideas in the back of my head (like direct integration into the RT web interface).
>>>>
>>>> Looking forward to your answers and sending curious greetings from Cologne
>>>>
>>>> Benjamin
>>>>
>>>>
>>>> P.S.: As this is a very "developerish" topic I hope it is OK to crosspost this mail...
>>>>
>>>>
>>>> [1] http://jasperforge.org/projects/jasperserver
>>>> [2] http://jasperreports.sourceforge.net/sample.reference/datasource/index.html#customdatasource
>>>> [3] http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/sample.reference/hibernate/index.html#queryexecuters
>>>> [4] http://jasperforge.org/projects/ireport
>>>> [5] http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
>>>> --------
>>>> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>>>
>>> --------
>>> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>>
>


Albert.Shih at obspm

Apr 26, 2012, 12:28 PM

Post #2 of 4 (318 views)
Permalink
Re: Announcing RT-REST and RT-Jasper [was: RT and JasperReports Server Integration (got it working, anyone interested?)] [In reply to]

Le 22/04/2012 ? 19:11:23+0200, Benjamin Boksa a écrit
Hi.

>
> it's done :-) I have setup two GitHub repositories to host everything you need to run you own RT an JasperReports Server integration:
>
>
> RT-REST: http://projects.boksa.de/RT-REST/
> RT-REST is a Java class library to interact with RT: Request Tracker's REST Interface.
>
> RT-Jasper: http://projects.boksa.de/RT-Jasper/
> RT-Jasper is a toolkit to integrate RT: Request Tracker as a queryable data source in JasperServer.
>
>
> Feel free to give the components a try and let me know what you think :-) I have chosen to drop full installation instructions in favor of a demo system (see the RT-Jasper page for more information) and I assume you already have a RT installation to play with. To learn how to install JasperReports Server please refer to
>
> http://sourceforge.net/projects/jasperserver/files/JasperServer/JasperServer%204.5.0/JasperReports-Server-CP-Install-Guide.pdf/download .
>
> To help you with your questions I'll try to be around in #rt on irc.perl.org .
>
> I am really curious to see what you will say about my work and I hope there will be enough users using it to ensure a constant flow of great ideas and improvements.
>
> Enjoy the rest of your weekends :-)
>
Big thanks for your works.

Two questions before I spend lot of time to understand your works :

1/ What kind of reports can we have (I never heard of jasper, only
the city in Canada ...;-) ). I didn't find your demo jasperserver
...:-(

2/ Is they are anything to modify on the RT server ?

thanks again.

Regards.
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: jas [at] obspm
Heure local/Local time:
jeu 26 avr 2012 21:25:37 CEST


mailinglists at boksa

Apr 26, 2012, 12:59 PM

Post #3 of 4 (318 views)
Permalink
Re: Announcing RT-REST and RT-Jasper [was: RT and JasperReports Server Integration (got it working, anyone interested?)] [In reply to]

Hi Albert,

you can generate any kind of reports supported by JasperReports Server. RT-Jasper provides the DataSource necessary to query RT for tickets (the ticket's data can be used in the reports).

Regarding your questions:

1) See the private mail I sent you.
2) No.

If you have further questions just let me know.

Greetings from Cologne

Benjamin




Am 26.04.2012 um 21:28 schrieb Albert Shih:

> Le 22/04/2012 ? 19:11:23+0200, Benjamin Boksa a écrit
> Hi.
>
>>
>> it's done :-) I have setup two GitHub repositories to host everything you need to run you own RT an JasperReports Server integration:
>>
>>
>> RT-REST: http://projects.boksa.de/RT-REST/
>> RT-REST is a Java class library to interact with RT: Request Tracker's REST Interface.
>>
>> RT-Jasper: http://projects.boksa.de/RT-Jasper/
>> RT-Jasper is a toolkit to integrate RT: Request Tracker as a queryable data source in JasperServer.
>>
>>
>> Feel free to give the components a try and let me know what you think :-) I have chosen to drop full installation instructions in favor of a demo system (see the RT-Jasper page for more information) and I assume you already have a RT installation to play with. To learn how to install JasperReports Server please refer to
>>
>> http://sourceforge.net/projects/jasperserver/files/JasperServer/JasperServer%204.5.0/JasperReports-Server-CP-Install-Guide.pdf/download .
>>
>> To help you with your questions I'll try to be around in #rt on irc.perl.org .
>>
>> I am really curious to see what you will say about my work and I hope there will be enough users using it to ensure a constant flow of great ideas and improvements.
>>
>> Enjoy the rest of your weekends :-)
>>
> Big thanks for your works.
>
> Two questions before I spend lot of time to understand your works :
>
> 1/ What kind of reports can we have (I never heard of jasper, only
> the city in Canada ...;-) ). I didn't find your demo jasperserver
> ...:-(
>
> 2/ Is they are anything to modify on the RT server ?
>
> thanks again.
>
> Regards.
> --
> Albert SHIH
> DIO bâtiment 15
> Observatoire de Paris
> 5 Place Jules Janssen
> 92195 Meudon Cedex
> Téléphone : 01 45 07 76 26/06 86 69 95 71
> xmpp: jas [at] obspm
> Heure local/Local time:
> jeu 26 avr 2012 21:25:37 CEST
>


alex at itworx

Apr 27, 2012, 3:48 AM

Post #4 of 4 (316 views)
Permalink
Re: Announcing RT-REST and RT-Jasper [was: RT and JasperReports Server Integration (got it working, anyone interested?)] [In reply to]

wow! Awesome.

I am going to try this immediately.

Thanks so much for the quick reply too.

Alex

----- Original Message -----

From: "Benjamin Boksa" <mailinglists [at] boksa>
To: "Alex Rhys-Hurn" <alex [at] itworx>
Sent: Friday, 27 April, 2012 1:24:03 PM
Subject: Re: [rt-users] Announcing RT-REST and RT-Jasper [.was: RT and JasperReports Server Integration (got it working, anyone interested?)]


Hi Alex,


the cool thing about my integration toolkit is, that it does not use SQL at all. It uses the REST Interface (see "Ticket Search") described here:


http://requesttracker.wikia.com/wiki/REST


Among other data you get the "TimeWorked" field already calculated ;-)


The Queries used in Jasper are written in RTRIQL which itself is a superset of the Query Builder Query Language (which means you can use any Query Builder query from RT you already have).


Looking forward to you feedback


Benjamin






Am 27.04.2012 um 12:09 schrieb Alex Rhys-Hurn:




Dear Benjamin,

Thanks for all the hard work.

I have in fact played with Jasper and RT before.

I gave up as the reports I was trying to generate were to do with time worked.

RT seems to have two different places where time is recorded and calculated, and so querying the DB gets complicated.

Does your integration of Jasper with RT make this clearer / easier?

or do you have any example SQL queries for reporting on Time worked in RT?

Thanks so much,

Alex

----- Original Message -----

From: "Benjamin Boksa" < mailinglists [at] boksa >
To: "Albert Shih" < Albert.Shih [at] obspm >
Cc: rt-users [at] lists
Sent: Thursday, 26 April, 2012 10:59:37 PM
Subject: Re: [rt-users] Announcing RT-REST and RT-Jasper [.was: RT and JasperReports Server Integration (got it working, anyone interested?)]

Hi Albert,

you can generate any kind of reports supported by JasperReports Server. RT-Jasper provides the DataSource necessary to query RT for tickets (the ticket's data can be used in the reports).

Regarding your questions:

1) See the private mail I sent you.
2) No.

If you have further questions just let me know.

Greetings from Cologne

Benjamin




Am 26.04.2012 um 21:28 schrieb Albert Shih:

> Le 22/04/2012 ? 19:11:23+0200, Benjamin Boksa a écrit
> Hi.
>
>>
>> it's done :-) I have setup two GitHub repositories to host everything you need to run you own RT an JasperReports Server integration:
>>
>>
>> RT-REST: http://projects.boksa.de/RT-REST/
>> RT-REST is a Java class library to interact with RT: Request Tracker's REST Interface.
>>
>> RT-Jasper: http://projects.boksa.de/RT-Jasper/
>> RT-Jasper is a toolkit to integrate RT: Request Tracker as a queryable data source in JasperServer.
>>
>>
>> Feel free to give the components a try and let me know what you think :-) I have chosen to drop full installation instructions in favor of a demo system (see the RT-Jasper page for more information) and I assume you already have a RT installation to play with. To learn how to install JasperReports Server please refer to
>>
>> http://sourceforge.net/projects/jasperserver/files/JasperServer/JasperServer%204.5.0/JasperReports-Server-CP-Install-Guide.pdf/download .
>>
>> To help you with your questions I'll try to be around in #rt on irc.perl.org .
>>
>> I am really curious to see what you will say about my work and I hope there will be enough users using it to ensure a constant flow of great ideas and improvements.
>>
>> Enjoy the rest of your weekends :-)
>>
> Big thanks for your works.
>
> Two questions before I spend lot of time to understand your works :
>
> 1/ What kind of reports can we have (I never heard of jasper, only
> the city in Canada ...;-) ). I didn't find your demo jasperserver
> ...:-(
>
> 2/ Is they are anything to modify on the RT server ?
>
> thanks again.
>
> Regards.
> --
> Albert SHIH
> DIO bâtiment 15
> Observatoire de Paris
> 5 Place Jules Janssen
> 92195 Meudon Cedex
> Téléphone : 01 45 07 76 26/06 86 69 95 71
> xmpp: jas [at] obspm
> Heure local/Local time:
> jeu 26 avr 2012 21:25:37 CEST
>

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.