Indexed fields and sprint dates
Documentation
Flexible JQL keeps a set of searchable fields on your issues, so counts, dates and parent values can be used directly in JQL, in ORDER BY, on boards and in dashboard filters.
fjSubtaskCount > 2
fjParentStatusCategory = "In Progress" ORDER BY fjParentSummary
fjCommentCount >= 5
fjFixVersionNextDueDate < now()
How the fields are filled
- In the background, with no setup. After installation, the app indexes your projects, most recently updated issues first. Administrators can follow the progress on the admin page.
fjIndexed = 1finds the issues already covered. - Kept current by Jira events. Updates arrive within seconds to a few minutes, because Jira delivers events with a delay of up to about 3 minutes. Web links, version releases and the links of a deleted issue send no event, and a weekly background pass corrects them.
- No limit on matches. Unlike functions that list issues, the fields match any number of issues.
- Functions wait for the index. Functions that rely on the index refuse to answer while indexing is incomplete, rather than return an answer that silently misses issues.
What the fields hold
Counts, status, priority and type names, dates, the parent summary and labels, and up to 100 dates per list. Parent values are filled only when the parent is in the same project; for an epic in another project, use childrenWhereParent. Parents or children with an issue security level are never copied. Comments and work logs restricted to a role or group the app is not in are not counted.
The fields never store who did something. To find issues by person, use the functions such as commentedBy, changedBy, transitionedBy and workLoggedBy, which read the person live.
The values live in one issue property per issue, flexjql.v1, of about 1 KB. It is written only when a value changes and never adds an entry to the issue history.
Sprint start, Sprint end and Sprint complete
Flexible JQL adds three read-only fields to every issue with the dates of the sprint the issue is in: the active sprint, otherwise the planned one, otherwise the last completed one. Sort and filter by them and add them as columns.
- The fields update when a sprint is started, completed or has its dates changed, and when an issue moves between sprints. Allow up to 3 minutes.
- Issues created straight into a sprint get their dates at the next sprint event or background pass.
- Existing issues are filled once in the background after installation.
- The fields cannot be edited and hold dates only.
Jira does not let an app delete custom fields, so these three fields stay on your site after uninstalling until a Jira administrator deletes them.
Switching a project off
An administrator can exclude projects from indexing on the admin page. No property is written on their issues, and functions that depend on the index then refuse to answer for them, so no result is silently incomplete.