Custom field searchers

Writing the custom field type is one thing, but making it available to one of JIRA's most powerful functionalities, Search, is another! When you create the custom field, you can associate the searcher to be used along with it.

In most cases, you wouldn't need a custom searcher. Instead, you can use the built-in custom field searchers in JIRA itself. The list includes, but is not restricted to, Text Field Searcher, Date Searcher, Number Searcher, User Searcher, and so on.

The first step, of course, is to determine what kind of Searcher your new field needs. For example, a text field can easily be searched with Text Searcher. A number field can be searched with Number Searcher or Number Range Searcher. You might even want to ...

Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.