How do you query team areas that a user belongs to in RTC?
I have user that spans multiple team (team areas) in RTC. Is there an easy way to query the team areas that a user belongs to?
|
4 answers
Ralph Schoon (63.3k●3●36●46)
| answered Apr 12 '16, 2:48 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/ section Only Analyze the Process Areas of One User using the API. Otherwise just look at the users allocation to see all RTC project areas and team ares a user is member of.
Comments thanks Ralph. I will see if the runtime report will suffice for this project. The link mentions code using API but not REST/OSLC. Does this mean nothing in REST/OSLC to retrieve this kind of information?
Ralph Schoon
commented Apr 13 '16, 12:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
That only means I have focussed on the Java APIs and have example code for Java.
|
If you open the user profile in Eclipse Client, it will list all Team Areas that user belongs to.
Comments
Gary Dang
commented Apr 12 '16, 5:44 p.m.
thanks Alexandre, I think we are closer with this answer as this pertains to one specific user. Is there a way to see a list of users with their associated team areas without having to create complicated report or write code? Hi Gary,
Gary Dang
commented Apr 13 '16, 2:33 p.m.
hi Alexandre, thanks for this tip. I am not able to get to this dialog in Eclipse client. Can you comment? Is it somewhere in the Team Org tab?
Hi Gary, under the Team Artifacts tab, right click the repository connection and browse to Administer > Open Users...
Gary Dang
commented Apr 15 '16, 8:44 a.m.
hi Alexandre, the user accepted this Open User suggestion. Thanks!
|
You can just access the reportable URL to find it out. For example, to show team area for user "deb":
https://clm:9443/ccm/rpt/repository/foundation?fields=foundation/teamArea/(name|projectArea/name|teamMembers[userId="deb"]/(name|userId)) Note that you still need to filter the result by eye or using a script - only the team areas that showing the user count. Because the attribute "teamMembers" is multi-valued so we cannot use it to filter teamArea in the URL. I think that's the best we can achieve with the reportable API. |
thank you all. I have mentioned all these workarounds to the user and hopefully they are good with it.
|
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.