It's all about the answers!

Ask a question

How to get resource allocation of a user in EWM/RTC using java api


Vikas Kumar (132) | asked May 16 '23, 10:06 a.m.

 Hello Everyone,

I am trying to create a team capacity report,  this metric needs team members resource allocation. Trying to calculate how much % a user is over loaded. Is there a way to get resource allocation/work allocation of a user from his profile by project. If there is a way can someone help me with the api or where I can find it. 

Thanks.

One answer



permanent link
Ralph Schoon (63.1k33646) | answered May 17 '23, 3:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 As far as I can tell, the core client API for this is 


com.ibm.team.apt.common.resource.IWorkResourceDetails
com.ibm.team.apt.internal.client.resource.IResourcePlanningClient

Note that the IResourcePlanningClient is an internal API.
        final IResourcePlanningClient resourcePlanning = (IResourcePlanningClient) this.teamRepository
                .getClientLibrary(IResourcePlanningClient.class);
        ResourcePlanningManager resourcePlanningManager = resourcePlanning
                .getResourcePlanningManager();
    


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.