Finding user count in RTC
I am trying to get the count of users per instance by querying Rest Client for each project area. Till the CLM 5.0 version, this link was working for me:
https://<instanceURL>/ccm/process/project-areas/<project area GUID>/members
For CLM 6.0, this link doesn't work. I tried looking out for options but nothing works to give the user count project-area wise.
Please help to solve this.
(Edit: Corrected the version numbers.)
One answer
I tested with 6.0 and see that the members url acquired through the discovery mechanism is giving the expected results.
Here are the details :
Performing a
GET on
https://<instanceurl>/ccm/process/project-areas/_OMeuMEc0EeWY7PcyR2j3WA
(here "_OMeuMEc0EeWY7PcyR2j3WA" is the projects uuid)
gives the resource url to use for members, node "members-url" is the one to use
Nodes of interest :
<jp06:members-url>https://<instanceurl>/ccm/process/project-areas/_OMeuMEc0EeWY7PcyR2j3WA/members</jp06:members-url>
<jp:admins-url xmlns:jp="http://jazz.net/xmlns/prod/jazz/process/1.0/">https://<instanceurl>/ccm/process/project-areas/_OMeuMEc0EeWY7PcyR2j3WA/admins</jp:admins-url>
Using the resource url from node "jp06:members-url" gave the total members count as a value for property "jp:total-members" on the containing node "jp06:members"
hope this helps
Comments
Krzysztof Kaźmierczyk
Aug 20 '15, 8:24 a.m.Hi Parijat,
There are no such versions of CLM as 6.1 and 6.2. The latest CLM version available is 6.0. Could you clarify your product version