I'm trying to add some small code to the "Delete Worklog" script part, but nothing happened.
I mean, when I click on the icon to delete some worklog, the window didn't appear.
with this simple code:
def authenticationContext = ComponentAccessor.getJiraAuthenticationContext();
def projectRoleManager = ComponentAccessor.getComponent(ProjectRoleManager.class);
if I remove the 2 last lines, the window appears.
any idea ?