Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes



4 answers

Permanent link
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.

0 votes

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?

That only means I have focussed on the Java APIs and have example code for Java.

If someone comes up with an OSLC/REST way, you could use that.


Permanent link
If you open the user profile in Eclipse Client, it will list all Team Areas that user belongs to.

User Team Area

0 votes

Comments

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,

So also in Eclipse Client if you browse to Open Users, and type an asterisk to list all users, in the front of the user name it will display all the Team Areas the user belongs to.



However I understand this is not very user friendly

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...

You must have JazzAdmin permissions.

hi Alexandre, the user accepted this Open User suggestion. Thanks!


Permanent link
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.

0 votes


Permanent link
thank you all.  I have mentioned all these workarounds to the user and hopefully they are good with it.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Apr 12 '16, 1:48 p.m.

Question was seen: 4,887 times

Last updated: Apr 15 '16, 8:44 a.m.

Confirmation Cancel Confirm