JQL wih Calculated fields
Issue #914
resolved
Hello,
Just wanted to know if calculated fields can be used in JQL. It seems that a Calculated text field will not provide correct results when used like "Calculated Field" ~ "text". Are these fields indexed in Lucene?
Thanks, Nick
Comments (2)
-
repo owner -
reporter - changed status to resolved
Hi @fcarmario ,
bad habits, I hadn't reindexed the instance. It is working fine.
Thanks
- Log in to comment
Hi @ngeorgakopoulos,
JQL searches use Lucene indexes. Calculated fields will keep their indexes updated whenever the expression in the calculations depends on fields in the current issue, or in their sub-tasks or dependent issues in the case of epics.
Anyway, each time you create a new calculated field, you should reindex your whole JIRA instance in order to update indexes in the new field.
Can you, please, provide the expression of the calculated field you are having problems with?