Just remember that if name isn't configured to be unique, you could potentially return an array of objects.
Class iqlFacadeClass = ComponentAccessor.getPluginAccessor().getClassLoader().findClass("com.riadalabs.jira.plugins.insight.channel.external.api.facade.IQLFacade");
def iqlFacade = ComponentAccessor.getOSGiComponentInstanceOfType(iqlFacadeClass);
def iql = "objectTypeId = 1 and Name = \""+issueKey+"\""
def object = iqlFacade.findObjectsByIQLAndSchema(141,iql);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.