Hi! How can I inject TraceLinkService to my Java class?
I've tried inject this via @ComponentImport and ComponentAccessor.getOSGiComponentInstanceOfType. But it didn't help.
I've got "java.lang.ClassCastException: Cannot cast com.adaptavist.tm4j.service.tracelink.DefaultTraceLinkService to com.adaptavist.tm4j.api.service.tracelink.TraceLinkService".
Second way works via ScriptRunner, but I can not use ScriptRunner.
Thank you