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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.