Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

custom searcher for multiple custom field is not visible

Dmitriy_Shalygin November 13, 2019

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  ? 

 

2 answers

1 accepted

0 votes
Answer accepted
Dmitriy_Shalygin November 19, 2019

Sorry, my mistake was a wrong value in  "

valid-customfield-type package

"

0 votes
Tu Ho
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 24, 2024

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

Suggest an answer

Log in or Sign up to answer