Tried to use the <valid-searcher> tag within a custom field type descriptor, in order to re-use a searcher from an existing field. However, the tag doesn't seem to be working, although my plugin is compiled without trouble.
For example, I have this custom field type that extends UserCFType, so I would like to re-use the "UserPickerGroupSearcher":
<customfield-type key="ticketcreator" name="Ticket Creator" class="com.newedge.jira.plugin.customfields.TicketCreatorCFType">
<description>Captures the information of the user that is creating a JIRA issue, whether it is the Reporter of an issue or not.</description>
<resource type="velocity" name="view" location="templates/customfields/view/view-ticketcreator.vm" />
<resource type="velocity" name="edit" location="templates/customfields/edit/edit-ticketcreator.vm" />
<resource type="velocity" name="xml" location="templates/customfields/xml/xml-ticketcreator.vm" />
<valid-searcher package="com.atlassian.jira.plugin.system.customfieldtypes" key="userpickergroupsearcher"/>
</customfield-type>
However, after I upload my custom plugin, the "Ticket Creator" field is not listed in the search criteria, even when it is configured with Global scope.
Community moderators have prevented the ability to post new answers.
Did you also apply the searcher for the custom field that you created for that type? Delcaring it in atlassian-plugin.xml will only make it available for the fields, you will have to manually apply it.
You're right, I forgot about that...
Thanks so much... I've appliced the new searches through the CF configuration...
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.