It's all about the answers!

Ask a question

RTC sever side api to fetch team area members from RTC project area.


Girish Jangame (1118) | asked Oct 24 '17, 1:55 a.m.
edited Oct 24 '17, 1:57 a.m.

Hi All,

I am creating one server side plugin to fetch the team area members.
In this plugin we are unable to get the team area in server side.

from client side we can get it using,

ITeamArea teamArea = (ITeamArea) repository.itemManager().fetchCompleteItem(handle, IItemManager.DEFAULT, null);

how to get the team area in server side plugin?
can anyone help us for the same.

2 answers



permanent link
Krzysztof Kaźmierczyk (7.4k373103) | answered Oct 24 '17, 3:18 a.m.

Comments
Ralph Schoon commented Oct 24 '17, 3:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

No, that one is about the Reportable REST API Cris.


permanent link
Ralph Schoon (63.1k33645) | answered Oct 24 '17, 2:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Oct 24 '17, 3:52 a.m.

As https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ shows, you don't need to resolve any of the contributor handles in order to fetch the members and use them.

In case you have to, try com.ibm.team.repository.service.IRepositoryItemService

The API you use above is CLIENT API I would suggest you look into https://rsjazz.wordpress.com/2013/03/14/what-apis-are-available-for-rtc-and-what-can-you-extend/

Your answer


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