Get List of Users (REST ?)
![]() I need to get the list of useres enroled in RTC and place it onto an Excel table or add them to MS Project as resources. I found https://jazzserver:9443/ccm/rpt/repository/foundation which also lists users but only 100, I have 304. I also found https://jazzserver:9443/ccm/oslc/users which in my case only lists 50 users, but has paging available, which is no fun reading by code.
Any suggestion how I can get a complete list of users? btw. I am on RTC 3.0.1.1 Thanks! |
Accepted answer
![]()
If https://jazzserver:9443/ccm/rpt/repository/foundation gives the output you are looking for, you can add the 'size' to extend the # of records returned per page.
For example, https://jazzserver/jts/rpt/repository/foundation?fields=foundation/contributor/(userId|name)&size=400 Gerald Pape selected this answer as the correct answer
|
3 other answers
![]()
Gerald,
why don't you use the repotools -exportUsers command?
http://pic.dhe.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.jazz.install.doc/topics/r_repotools_exportusers.html
PurposeThe exportUsers command can be used to export the user information into a CSV file.
Thanks.
Eric.
|
![]()
Hello Gerald,
you may refer to https://jazz.net/forum/questions/97125/how-to-get-list-of-users-using-java-plain-api
for Java API.
As you already found, OSLC will oblige you to use paging.
Possibly more work for you, but this could prevent performance issues (in case you had to fetch a lot o users).
Hope it helps.
Eric.
Comments Hi, thanks for the hint, but I need something where I can get the data from Excel/Project, which does not provide JAVA ;-)
|
![]()
Sadly this (paging) is the implementation from RTC 4.0 (AFAIK)
You can see my post about this https://jazz.net/forum/questions/83257/how-do-i-disable-oslc-paging-in-rtc-40
|