The Mapit search box lets you search for both addresses and issue data. By default, Mapit will only search for the terms within the summary and description fields, however you can configure it to search within other fields. You can also configure what fields to show in the search results (result format). To configure which fields to search, edit the JSON config and add the desired fields. You can also choose to see the data in these custom fields in the search results. 

[{
 "project": "default",
 "name": "Default search config",
 "fields" : [
 {"id": "key", "label": "Key"},
 {"id": "summary", "label": "Summary"},
 {"id": "description", "label": "Description"},
 {"id": "customfield_xxxxxx", "label": "Your custom field"}
 ],
 "result_format": "<b><a href=../../../browse/{key}target=_blank>{key}</a>:{summary}</b><br> Your custom field: {customfield_xxxxx}"
}]
CODE

 

The label is not used in the Mapit gadget, and is only there to easier remember what custom field is being referenced. 

If you want a custom field to be shown in the search results, it also has to be set up as a search field.

Search by issue key is not yet supported, however key still needs to be listed as a search field in order to be displayed in the search results.