jira core (server) 7.12
I wrote seacher for multiple custom field, but it is not visible when i edit field config.
Logs say this searcher is created.
<customfield-searcher name="Multi Text Searcher" i18n-name-key="multidepsearcher.name" key="multidepsearcher"
class="nemavasi.jira.edo.company.cf.MultipleValuesSearcher">
<description key="nmv-text-searcher.description">The Multi department Searcher Plugin</description>
<valid-customfield-type package="nemavasi.jira.edo.company.cf" key="nemavasi-jira-custom-multi-department-chooser-cf"/>
<resource name="search" type="velocity" location="/templates/cf/multichooser/text-searcher/search-basictext.vm"/>
<resource name="view" type="velocity" location="/templates/customfields/text-searcher/view-searcher-basictext.vm"/>
</customfield-searcher>
<customfield-type name="Custom multi department chooser CF"
i18n-name-key="Department Multi Chooser"
key="nemavasi-jira-custom-multi-department-chooser-cf"
class="nemavasi.jira.edo.company.cf.MultiDepartmentChooserCF">
<description key="Custom multi department chooser">
Custom multi chooser for department
</description>
<resource name="view" type="velocity"
location="templates/cf/multichooser/department/view-readonly-chooser.vm"/>
<resource name="column-view" type="velocity"
location="templates/cf/multichooser/department/view-readonly-chooser.vm"/>
<resource name="xml" type="velocity"
location="templates/cf/multichooser/department/view-readonly-chooser.vm"/>
<resource name="edit" type="velocity"
location="templates/cf/multichooser/department/edit-chooser.vm"/>
<!-- <valid-searcher-->
<!-- package="com.atlassian.jira.plugin.system.customfieldtypes"-->
<!-- key="textsearcher"/>-->
<!-- -->
</customfield-type>
If i uncomment valid-searcher it (text seacher, not mine) is visible for selection when i edit field config.
Why is my seacher invisible when i edit field config ?
Sorry, my mistake was a wrong value in "
valid-customfield-type package
"
Dear @Dmitriy_Shalygin ,
Currently, I want to develop a multi select customfield but i don't know how to create searcher for it. I took alot of time to research but can't resolve it. Could you share me the demo code for my case?
Thanks,
Tu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.