Blog › Atlassian & ITSM › Jira
The worst reports are the ones that never break. A filter that throws an error gets fixed within the hour. A filter that returns a slightly low number gets quoted in a planning meeting every Thursday for a year. Jira has a reliable source of the second kind, and a new instalment of the Jira Snippet Library mentions it in one line, between two code samples, without stopping.
What’s in it
Per an article Rachel Wright published to the Atlassian Community on 7 September 2026, relationships between work items are governed by the parent field on every Jira Cloud plan. The queries follow from that, and there are only a handful:
- parent = ITEM-1 — everything beneath one item.
- key = ITEM-1 OR parent = ITEM-1 — the item together with its children. The author flags this one against herself: it has to be OR, an AND returns nothing at all, and she says she makes the mistake often.
- issue in portfolioChildIssuesOf("ITEM-1") — the way to reach subtasks, described in the article as available on Premium or Enterprise.
- issue in portfolioChildIssuesOf("ITEM-1") and type != Bug — the same, minus one work type.
On the hierarchy itself the piece is precise, which is the useful part. On Free and Standard, Epic is the top level, full stop. Premium and Enterprise can add levels, but only above Epic — nothing goes below it, and subtask is permanently the floor. The configuration sits at Admin > Work items > Work type hierarchy, and a greyed-out Create level button means the site supports no more.
The line that does the damage
One sentence in the article carries more weight than every snippet around it: queries on parent do not return subtasks.
Nothing announces it. The query is valid, the filter saves, the gadget renders, the count looks plausible. A team that keeps its detail in subtasks is absent from its own report, and the only way to notice is to compare the total against a board you already trust. That is the failure shape worth fearing in Jira reporting — not the rule that errors, but the one that returns a smaller truth every day without comment.
The fix is priced. Per the article, portfolioChildIssuesOf is a Premium and Enterprise function, so the correction for a limitation that exists on every plan is only available on two of them. The piece links no Atlassian documentation for it, so that tier requirement is the author’s statement rather than a cited one — worth confirming on your own site before it shapes a budget conversation. A more current equivalent is noted, workitemkey in in place of issue in; the author keeps the older form because it is shorter, and presents that as preference.
She offers a theory that the name is a leftover from Jira Portfolio, the former name of Jira Plans, and labels it as her own guess with nothing behind it. The guess is not the interesting bit; the pattern is. Names in Atlassian products are an archaeological layer, not a description — Jira projects are now called spaces, yet JQL is still project = KEY and automation smart values are still issue.key. Anyone learning Jira from the current interface is searching JQL for a keyword that does not exist.
What it means for your team
What the article leaves open is what an admin has to settle: whether parent reaches more than one level down once custom levels sit above Epic, and what becomes of a saved filter using portfolioChildIssuesOf if a site moves to a cheaper plan. Where Jira runs out it points at the Marketplace without naming an app, and a follow-up on Plans is promised with no link to it.
- Grep your own instance for parent. Every saved filter, dashboard gadget and automation rule containing parent = is reporting a figure that excludes subtasks. Whether that is acceptable is a decision; right now it is probably an accident.
- Reconcile each new filter by hand, once. Run it, then count the same thing on a board. That is the only moment the discrepancy is cheap to find.
- Queries are not portable across plans. A filter built on portfolioChildIssuesOf cannot be handed to a Standard site. A shared JQL library — across clients or your own instances — needs a note on each entry saying which plan it requires.
- Greyed out is not an error message. A disabled Create level button and an empty result set both mean “not on this plan” while looking exactly like “not possible”. Learning to tell those apart quickly saves more time than any snippet in the article.
- Keep your own notebook of verified queries. Interface vocabulary moves faster than the query language. What you tested against your own data outlives documentation that has been renamed twice.
As a snippet library this instalment is thin — five one-line queries, an etymological aside the author admits is a guess, and a shrug toward the Marketplace when Jira runs out. As a boundary marker it earns its place: Epic is the ceiling below Premium, subtask is the floor everywhere, and parent will not cross it. Those three facts have a budget attached and are harder to find in the documentation than the queries are.
Hierarchy is the one Jira decision you cannot take back cheaply
Before the next report gets built, one question is worth asking out loud: does anyone here know whether our numbers include subtasks? Setting that up yourself is entirely reasonable — the field is there, the query is one line, and an admin who writes their own filters should carry on writing them. The cost is never in the query, it is in the two years of decisions it sits on top of: what gets broken down and how, which plan the site runs on, and which reports were built before either of those settled. Instances reach us counting the same work two ways in two dashboards with nobody able to say which one the board has been reading, and unpicking that afterwards is slow in a way that an hour at the start is not — which is the sort of thing our Atlassian consulting exists for.
Related articles
Source: Atlassian Community · Karel Bielan, Atlassian consultant, want it s.r.o.
