How to get username who modifies workitem
One answer
See https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/
The operation runs in the context of the user that actually performs the change so the user that is changing the work item is
The operation runs in the context of the user that actually performs the change so the user that is changing the work item is
IContributorHandle loggedIn = this.getAuthenticatedContributor();Then fetch the Contributor from the handle and get the rest of the data,