Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space MAPDOCWORK and version 1.11-server

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. 

Code Block
[{
 "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}"
}]

 

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

Info

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

Info

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.