Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,527
Community Members
 
Community Events
165
Community Groups

No unique bean of type [com.atlassian.jira.issue.fields.util.VersionHelperBean] is defined

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*

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you