what other method can instead of it? auditableCommon.getPeer (server side)
![]()
server side:
IWorkItemCommon workItemCommon= auditableCommon.getPeer(IWorkItemCommon.class); //set currentUser to approveaaa IAttribute target= workItemCommon.findAttribute(newState.getProjectArea(), "approveaaa", monitor); newState.setValue(target, auditableCommon.getUser()); auditableCommon.getPeer---> The method getPeer(Class<IWorkItemCommon>) from the type IAuditableCommon is deprecated. what other method can instead of it? |
Accepted answer
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Nov 27 '13, 3:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
A search on this page reveals: https://jazz.net/forum/questions/76532/what-is-the-replacement-for-iauditablecommongetpeer
guoping chen selected this answer as the correct answer
Comments Thanks for your help!
|