How to fetch users added in a particular project area with their details
Hi Team, <o:p> </o:p> <o:p> </o:p> I am trying to fetch the details of users who are/were added to a particular project area. <o:p> </o:p> For this I am following the blog mentioned on jazz.net. <o:p> </o:p> <o:p> </o:p> According to this, the steps followed are: <o:p> </o:p>
However, URL’s in step 2 and 3 are giving 406-Not acceptable error. <o:p> </o:p> <o:p> </o:p> Kindly let me know if the steps followed by me are correct or not. <o:p> </o:p> If not, let me know the process to get the user details such as name, mailto, roles, archival details for a particular project area. <o:p> </o:p> <o:p> </o:p> Thanks, <o:p> </o:p> Sanjeet |
One answer
Ralph Schoon (63.1k●3●36●46)
| answered Apr 05 '19, 3:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Apr 06 '19, 9:16 a.m. Basically this works for me.
Get the rootservices.
Get the work item catalog
Get the project area process URI from the service providers details e.g. https://clm.example.com:9443/ccm/process/project-areas/_WjsbsKVQEeiCt9y1kOVIWQ
Get the URI you retrieved. From the result find the members-url
Get the members-url https://clm.example.com:9443/ccm/process/project-areas/_WjsbsKVQEeiCt9y1kOVIWQ/members
Note the project are name is not a part of the URI to the members. The project area UUID is.
Comments Also, use Eclipse Lyo instead of XPath. See https://rsjazz.wordpress.com/2019/03/07/type-system-manager-part-2/ for some hints and example code. |
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.