I’m working on a plugin that mostly only uses Jira Core, but sometimes should do a small extra thing for the Service Desk. Is it possible to build it so that the same Marketplace app, from the same Jar, would work on Jira without SD and provide some extra features when running with SD?
Obviously I can’t just inject SD services into my components, because such classes would not even load.
Is this even possible? How to achieve it?