Hi everyone,
Previously, our Jira app used the Lucene Document API to index custom field values. With this approach, we could add multiple values for a single custom field by calling doc.add(new StringField(...)) several times per issue. This allowed us to support flexible JQL queries, since each value was indexed separately.
However, after upgrading to Jira 11, we are required to migrate to the new indexing system, which only allows indexing a single value for each custom field (especially for fields based on CalculatedCFType). This breaks our previous logic, as we can no longer index multiple values for a single field.
Additionally, we have noticed that the ~ (contains) operator does not work with custom fields based on CalculatedCFType, even when the field is indexed as text.
My questions are:
-
Is there any way to index multiple values for a custom field (like before) using the new Jira 11 indexing system?
-
Is it possible to enable the
~operator for CalculatedCFType fields, or is this a limitation of this field type? -
What are the recommended approaches or workarounds to replicate the flexible search and multi-valued indexing we had with the old Lucene Document method?
Thank you for your help!