It's all about the answers!

Ask a question

Get team areas of an user with Javascript API

Fran Burgos (12311750) | asked Aug 10 '15, 6:33 a.m.
edited Aug 10 '15, 7:47 a.m.

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


(function() {

var 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?

Accepted answer

permanent link
Martha (Ruby) Andrews (3.0k44151) | answered Aug 12 '15, 2:50 p.m.

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:

Fran Burgos selected this answer as the correct answer

Your answer

Register or to post your answer.