Hi!
I am using Script Runner post function in order to clone issue from JSD project til business project (Clones an issue, and links).
I have custom field in the target project having the type Elements Connect (nFeed) custom field.
I want to set value 'CUSTOMERQUERY' to the created issue.
I am trying the script
def pluginAccessor = ComponentAccessor.getPluginAccessor();
def plugin = pluginAccessor.getPlugin("com.valiantys.jira.plugins.SQLFeed");
def serviceClass = plugin.getClassLoader().loadClass("com.valiantys.nfeed.api.IFieldValueService");
def fieldValueService = ComponentAccessor.getOSGiComponentInstanceOfType(serviceClass);
def issueKey= issue.getId().toString()
def customFieldId = "customfield_17005";
def nFeedKeyValue = "CUSTOMERQUERY";
fieldValueService.setFieldValue(issueKey, customFieldId, nFeedKeyValue);
but I get error ' Cannot finding the matching method'
can any one help me to write the script?