I’m trying to access JSD from a workflow post function I’m currently implementing. Goal is to modify the issue’s SLA info based on data that has been provided in the WF transition.
My problem is that i do not know how to get an “entry” to the JSD classes…
In my post-function class I have a
@ComponentImport ServiceDeskManager sdManager;
which I would like to use for a
serviceDesk = sdManager.getServiceDeskForProject (issue.getProjectObject());
The code compiles fine. However when the post function is getting called, my
serviceDeskManager variable turns out to be null!
What am I missing? Anyone can tell me how to create a valid JSD manager class?
Thanks in advance!