It's all about the answers!

Ask a question

[RQM] Download the specified number of work items


Gabriel Kudela (611) | asked Jun 29 '14, 1:52 p.m.
edited Jul 01 '14, 3:41 a.m.
Hi,

I use RQMObjectManager class to download list of work items. Unfortunately I got OutOfMemoryException when I try to download big amount of data. There is a way to specify a number of work items I want to download? I guess there should be search criteria for that, right?

Here's my code for downloading:

        RQMRESTServer restServer = new RQMRESTServer();
        restServer.connect(rqmServer, username, password);
        RQMObjectManager manager = new RQMObjectManager(restServer);

       
        return manager.search(rqmObjectClass, "");

This can be helpful https://jazz.net/wiki/bin/view/Main/RqmApi#fields
Any ideas?

One answer



permanent link
Paul Slauenwhite (8.4k12) | answered Jul 07 '14, 8:41 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi Gabriel,

These classes (RQMObjectManager and RQMRESTServe) are not RQM classes.  You would have to provide more details to diagnose the problem.  If they are using the RQM Reportable REST API, fields filter will assist.  However, I would assume you are using the RTC Reportable REST API if you are downloading work items.

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.