While developing a plugin type 2 for custom field Version Picker.
When I tried to add a new customfield that extends the VersionCFType
I get the follwing error: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.atlassian.jira.issue.fields.util.VersionHelperBean] is defined: Unsatisfied dependency of type [class com.atlassian.jira.issue.fields.util.VersionHelperBean]: expected at least 1 matching bean
Here are the few lines of the code.
import com.atlassian.jira.issue.fields.util.VersionHelperBean; .
...
public class jbossonlyVersionCFType extends VersionCFType
{
public jbossonlyVersionCFType(PermissionManager permissionManager, JiraAuthenticationContext jiraAuthenticationContext, VersionManager versionManager, CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager, VersionHelperBean versionHelperBean, JiraBaseUrls jiraBaseUrls)
{ super(permissionManager, jiraAuthenticationContext, versionManager, customFieldValuePersister, genericConfigManager, versionHelperBean, jiraBaseUrls); }
}
I need a solution for type 2 plugins only*