It's all about the answers!

Ask a question

downloading attachments - is setting up RTC client side enough for using Java API?


liraz cohen (111) | asked Mar 23 '21, 8:10 a.m.

 Hi,

I'm trying to download all of our attachments in RTC. 
I found this link:
https://rsjazz.wordpress.com/2012/09/21/downloading-attachments-from-work-items/
and it suggests doing the workshop, which contains setup for both a server and client side. Is it enough to just do the client side in order to use the RTC Java API? If so, are there any guides? 
thanks

One answer



permanent link
Ralph Schoon (63.1k33645) | answered Mar 23 '21, 10:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 For https://rsjazz.wordpress.com/2012/09/21/downloading-attachments-from-work-items/ all you need to do is to follow https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ section Setting Up The Plain Java Client Libraries and install the plain java client libraries and setup the user library in the classpath. 


This would allow running the code. If you want to see the code for the API, you would need to follow the extensions workshop. And I would suggest to really do all the steps in the workshop. I will consider to publish something that does the install of the plain java client libraries as java library to run Java apps that are not a plugin. 

I always use a mix of the server-development workspace from the extensions workshop, plus the plain java client libraries above, plus, as described in https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ all my projects are plugin projects to trick the PDE to show the source code.

If you just want to export the data, maybe https://github.com/jazz-community/work-item-command-line is a quicker option.


Comments
liraz cohen commented Mar 29 '21, 7:00 p.m.

Thank you for your fast response!



Ralph Schoon commented Mar 30 '21, 2:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I have been working on the RTC Extensions Workshop in the past weeks. I have added an optional section how to set up for developing the client API. 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.