Welcome to the Jazz Community Forum
How to get the list of subscribers in a particular workitem

2 answers

https://rsjazz.wordpress.com/2012/08/02/subscribing-to-a-work-item-using-the-java-api/ shows how to get the subscriptions as part.
Comments

Hi Ralph,
The link which you have given is showing how to add the subscriber programmatically instead of how we can check the number of subscribers count. Please let me know, how to get the number of subscriber list.
Regards.
Govindaraj.

It shows how to get the subscribers in the line before it add a new one. If you want to be able to extend RTC you should be able to work with blogs like that and read the code.

IWorkItem workitem = workitemClient.findWorkItemById(id, IWorkItem.FULL_PROFILE, null);
for(IContributorHandle subscriber : workitem.getSubscriptions().getContents())
{
IItemManager itemManager = repo.itemManager();
IContributor contributor = (IContributor) itemManager.fetchCompleteItem(subscriber , IItemManager.DEFAULT, monitor );
contributor.getName(); //-----> Subscriber's name
contributor.getEmailAddress(); //------> Subsciber's Mail Id
}