API not retrieving all Access groups in RTC
Hello,
We have ~300 Access groups in RTC, I need to programmatically retrieve information of the access groups.
I am using below snippet to read all access groups but face problems,
IAccessGroup[] groups; groups = auditableCommon.getAccessGroups(null, Integer.MAX_VALUE, monitor);This call always returns me info of 250 access groups only. This is not respecting 2nd param value (Integer.MAX_VALUE) in retrieving access groups.
How can I retrieve all access groups?
Please note that pattern matching will not help as ~300 access groups have similar naming convention.
One answer
I can not see any cap level.
The Ui uses:
IAccessGroupClientService service = (IAccessGroupClientService).fTeamRepository.getClientLibrary(IAccessGroupClientService.class); elements = service.getAccessGroups(filter, monitor);
You can try to use use
com.ibm.team.process.client.IAccessGroupClientServiceas well.