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,295,344
Community Members
 
Community Events
165
Community Groups

build error when inserting standart multiselectsearcher in atlassian-plugin.xml

I'm developing plugin to enable AUI select2 renderer for multiselect customfield.

As I understang when developing new customfield type it's neccessary to provide searcher for it.

I'm trying to append standart multiselectsearcher by adding these code to atlassian-plugin.xml

 <customfield-searcher key="multiselectsearcher" name="Multi Select 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-basictext.vm"/>
<valid-customfield-type package="${atlassian.plugin.key}" key="multi-select-2"/>
</customfield-searcher>

but get build error

[INFO] [talledLocalContainer] 2022-05-10 17:07:57,278 QuickReload - Plugin Installer ERROR [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Multi Select Searcher' of plugin 'HCBplugins.CfAuiSelect2'. Disabling.
[INFO] [talledLocalContainer] com.atlassian.plugin.module.ModuleClassNotFoundException: Couldn't load the class 'com.atlassian.jira.issue.customfields.searchers.MultiSelectSearcher'. This could mean that you misspelled the name of the class (double check) or that you're using a class in your plugin that you haven't provided bundle instructions for. See https://developer.atlassian.com/x/mQAN for more details on how to fix this.

does that mean that I Should add some dependency to my pom.xml or what?

 

 

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