I have a service extending from AbstractService and I tried to use
ComponentAssessor.getJiraAuthenticationContext().getLoggedInUser() but it returned null.
The service is run from a scheduler cron job
is there a way for me to get the User?
I have a service extending from AbstractService and I tried to use
ComponentAssessor.getJiraAuthenticationContext().getLoggedInUser() but it returned null.
The service is run from a scheduler cron job
is there a way for me to get the User?
A service has no logged in user. It is correctly returning null.