Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Operation Advisor - How to get a user's roles before the save?

Hello all, further to this thread I thought I'd try and apply some control over what roles a user can award via Operation Advisors.  It seems there are two in play depending on what's being saved, the very similar operations being ProjectAreaSaveOperation or TeamAreaSaveOperation.


I can get all the roles available and the roles a user will have at the conclusion of a successful save from the getItems() method so I can see what a user's role list is being changed to, but I can't see what it's being changed from.

I thought getSavedItems() would provide what I'm after but this always returns nothing.  I have searched in vain through the sdk plugins but can't find anything helpful.  

Clearly I'm missing something - can anyone point me in the right direction?

0 votes


Be the first one to answer this question!

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Dec 19 '17, 7:04 a.m.

Question was seen: 866 times

Last updated: Dec 19 '17, 7:04 a.m.

Confirmation Cancel Confirm