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 (63.7k●3●36●47)
| 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
guoping chen
commented Nov 27 '13, 4:15 a.m.
Thanks for your help!
|
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.