How to read the list of users with a specific role added to a project area using java script ?
Hi,
How to read the list of users with a specific role added to a project area using java script ?
|
One answer
Hi Prasad,
This forum post has information about accessing users by role using javascript: https://jazz.net/forum/questions/97599/how-to-use-javascript-api-to-get-all-the-users-idaccounts-in-an-role-by-the-role-name. Depending on what you're trying to do, using Role Based User Lists may work for you: https://jazz.net/help-dev/clm/index.jsp?topic=%2F%2Fcom.ibm.team.workitem.doc%2Ftopics%2Ft_configuring_role_based_user_list.html. Comments Just to make it clear here, there is at this point no access to more information for a user than
Built in workitem customization, such as the role based user list, might be a solution for some of the requirements.
Prasad Annamdasu
commented Mar 13 '13, 4:01 a.m.
|
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.
Comments
Hi, Prasad.
Hi Millard,
That is definitely not supported with JavaScript. See http://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ for a potential solution. The Participant creates an approval with approves having a specific role. You could use a similar approach to add subscribers.