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

Get team areas of an user with Javascript API

I'm able getting the user from session object with:

dojo.require("com.ibm.team.repository.web.client.session.Session");

(function() {

var getAuthenticatedContributor = com.ibm.team.repository.web.client.session.getAuthenticatedContributor;

 var loggedInUser = getAuthenticatedContributor().itemId;

})();

I have looked into API JavaScript but I didn't see any method for getting the Team Areas of this user. Do you know any way to get their TAs?

0 votes


Accepted answer

Permanent link
Hello

There is not an API to get that information directly. You can create the list if you are willing to navigate project and team areas.  You can use REST APIs to get the list of all project areas, then their team areas, then the members of the team areas. The methods are described here:
https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi

Ruby
Fran Burgos selected this answer as the correct answer

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
× 10,951
× 152

Question asked: Aug 10 '15, 6:33 a.m.

Question was seen: 2,950 times

Last updated: Aug 12 '15, 2:50 p.m.

Confirmation Cancel Confirm