Hello all - need some help to develop a JIRA custom field of type VersionCFType (version type). I have the following class, and compile OK:
public class JiraCustomField extends VersionCFType {
public JiraCustomField(PermissionManager pm, JiraAuthenticationContext jac, VersionManager vm, CustomFieldValuePersister cfvp,
GenericConfigManager gcm, VersionHelperBean vhb, JiraBaseUrls jbu) {
super(pm, jac, vm, cfvp, gcm, vhb, jbu);
}
}
But when the plugin is deployed to JIRA, there's an error message:
com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.atlassian.jira.plugin.customfield.example.JiraCustomField': Unsatisfied dependency expressed through constructor argument with index 5 of type [com.atlassian.jira.issue.fields.util.VersionHelperBean]: : 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; nested exception is 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
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
...
What is missing? Thanks.