Formula field (string) and examples

The has field has standard text search functions in Jira.

Formula (JavaScript): return string

The script must return a string that will be the value of this field. This value will be included in the index and will be searchable.