I implemented a customfield type which extends MultiSelectCFType and its UI shows checkboxes.
Now I want to implement existing Multi Select Searcher to it.
I tried with the instructions in https://confluence.atlassian.com/pages/viewpage.action?pageId=236588798
and http://www.j-tricks.com/1/post/2010/09/custom-field-searchers.html
but I don't see any searcher while creating customfield of my type.
Also the installed plugin got disabled when I just reload the Manage Plugins page
Community moderators have prevented the ability to post new answers.
I found a simple workaround for this from
https://answers.atlassian.com/questions/19341/searchable-custom-field-type
How have you "implemented" the searcher?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I just placed the custom-field-searcher xml code in my atlassian-plugin.xml and given <valid-customfield-type> attribute value to my plugin and module keys of my customfield.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<customfield-searcher key="read searcher" name="Read Bool Searcher"
i18n-name-key="admin.customfield.searcher.multiselectsearcher.name"
class="com.atlassian.jira.issue.customfields.searchers.MultiSelectSearcher">
<description key="admin.customfield.searcher.multiselectsearcher.desc">Search for multiple values using a single select list.</description>
<resource type="velocity" name="search" location="templates/plugins/fields/edit-searcher/search-multiselect.vm"/>
<resource type="velocity" name="view" location="templates/plugins/fields/view-searcher/view-searcher-multioption.vm"/>
<resource type="velocity" name="label" location="templates/plugins/fields/view-searcher/label-searcher-htmltext.vm"/>
<valid-customfield-type package="com.teradata.boolcf.BCF" key="boolcf_key"/>
</customfield-searcher>
this is the searcher code in descriptor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, could you show us exactly what you've put in the xml? Just the searcher related lines of course
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.