It's all about the answers!

Ask a question

How can I get the list of users in a project area using OSLC in RTC?


Lipi Das (261735) | asked Jul 08 '13, 4:45 a.m.
How can I get the list of users in a project area using OSLC in RTC?

3 answers



permanent link
Takehiko Amano (1.3k3541) | answered Jul 08 '13, 5:00 a.m.
JAZZ DEVELOPER
edited Jul 08 '13, 5:01 a.m.
To access member info, use process RESTapi (note this is not OSLC).

For example, if you have  jazzhub.example.com/ccm01 instance, then access like

  https://jazzhub.example.com/ccm01/process/project-areas/

This will list all projects that you can access. Then you can find member list access URL like this.

  https://jazzhub.example.com/ccm01/process/project-areas/_ZhogejmEeKhontp5lzEQ/members

Where _Z** is a project ID. If your project is nested, then open team area, you will find similar structures.

Hope this helps !



permanent link
Dinesh Kumar (4.0k413) | answered Jul 08 '13, 5:06 a.m.
JAZZ DEVELOPER
by users if you mean members of a specific project area, they can be reached using:
     https://localhost:9443/ccm/process/project-areas/_JQuZcFNcEeKhkuM6LJfdVw/members

all users of the repository can be reached through:
    https://clm40.in.ibm.com:9443/ccm/oslc/users


Discovery Mechanism:

1.  Starting with CCM Root Services
    https://localhost:9443/ccm/rootservices

2.  Find the Project Areas URL
    <jp06:projectAreas rdf:resource="https://localhost:9443/ccm/process/project-areas"/>

3.  Find members URL against specificc project areas   
    <jp06:project-areas>
        <jp06:project-area jp06:name="CustomReminderPoC">
            <jp06:summary>CustomReminderPoC</jp06:summary>
            <jp06:description/>
            <jp06:url>
                https://localhost:9443/ccm/process/project-areas/_JQuZcFNcEeKhkuM6LJfdVw
            </jp06:url>
            <jp06:roles-url>
                https://localhost:9443/ccm/process/project-areas/_JQuZcFNcEeKhkuM6LJfdVw/roles
            </jp06:roles-url>
            <jp06:links-url>
                https://localhost:9443/ccm/process/project-areas/_JQuZcFNcEeKhkuM6LJfdVw/links
            </jp06:links-url>
            <jp06:members-url>
                https://localhost:9443/ccm/process/project-areas/_JQuZcFNcEeKhkuM6LJfdVw/members
            </jp06:members-url>
           
4.  Using the jp06:members-url the list of members is reached:
    https://localhost:9443/ccm/process/project-areas/_JQuZcFNcEeKhkuM6LJfdVw/members
       
Sample:
    <jp06:members jp:total-members="3">
        <jp06:member>
            <jp06:url>

hope it helps.

permanent link
Mallikarjuna Kandala (106316) | answered Jun 30 '15, 3:28 a.m.
Thank you Dinesh & Takehiko for very quick responses !

Yes, I mean members of a Project Area and in current situation I have been trying to list for RM Project.

https://my.rmhost.ibm.com:19443/rm/process/project-areas/_z6ILABQKEeWGrt9v24XbYA/members

I am able to see the data of members in the XML format.

Is it possible to get it in user friendly format : .xls ?

Your answer


Register or to post your answer.