I have a plugin that implements a multi-select custom field type. I want to make this custom field searchable. I've referred to this and this but i'm still having an issue with unresolved dependency. Plugin is version 2. This is what I have:
atlassian-plugin.xml:
<customfield-searcher key="multiselectsearcher" name="Multi Select Searcher" i18n-name-key="admin.customfield.searcher.multiselectsearcher.name"
class="org.cmp.jira.plugin.MSSearcher">
<description key="admin.customfield.searcher.multiselectsearcher.desc">Search for multiple values using a single select list.</description>
<resource type="velocity" name="search" location="templates/search-multiselect.vm"/>
<resource type="velocity" name="view" location="templates/view-searcher-multioption.vm"/>
<resource type="velocity" name="label" location="templates/label-searcher-basictext.vm"/>
<valid-customfield-type package="org.cmp.jira.plugin.crm" key="my-clients"/>
</customfield-searcher>
MSSearcher:
public class MSSearcher extends MultiSelectSearcher{
public MSSearcher(ComponentLocator componentLocator, ComponentFactory componentFactory) {
super(componentLocator, componentFactory) ;
}
}
Any tips?