OsgiContainerManager osgiManager = ComponentManager.getInstance().getComponentInstanceOfType(OsgiContainerManager.class)
return osgiManager.getServiceTracker("com.osoboo.jira.metadata.MetadataService").getService().getMetadataValue(issue.getProjectObject(), "crmid")
You have to use ComponentAccessor instead of ComponentManager.
like ComponentAccessor.getComponentOfType(IssueLinkTypeManager.class).getIssueLinkTypes();
As ComponentManager which was deprecated in JIRA 7. See this page for more information:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.