JQL wih Calculated fields

Issue #914 resolved
Nick-George Georgakopoulos created an issue

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)

  1. Fidel Castro Armario repo owner

    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?

  2. Nick-George Georgakopoulos reporter

    Hi @fcarmario ,

    bad habits, I hadn't reindexed the instance. It is working fine.

    Thanks

  3. Log in to comment