Home / JQL functions / linkedIssuesOf()

linkedIssuesOf() JQL function for Jira Cloud

Last updated 20/11/2026. Hooks is our product, and this page describes how its built-in function behaves.

linkedIssuesOf() returns the work items linked to anything your inner JQL matches. Write issue in linkedIssuesOf("jql") to follow every link, or add a link name as a second argument, such as "is blocked by", to follow just that type. It runs in Jira's search bar, saved filters, boards and dashboards.

Try Hooks free for 30 days → All 15 functions

Syntax

issue in linkedIssuesOf("jql")
issue in linkedIssuesOf("jql", "link name")

Work items linked to anything the inner JQL matches, optionally through one link type. The function name is not case sensitive in the search bar, and you can use it anywhere Jira accepts JQL: the search bar, saved filters, boards, dashboard gadgets and subscriptions.

Arguments

ArgumentWhat it does
jqlRequired. A JQL query. The function looks at everything it matches.
link nameOptional. Follow only this link type, for example "is blocked by".

What it returns

Plain JQL cannot say "show me the work items that are linked to those ones". linkedIssuesOf closes that gap. You describe the starting set once, in the inner query, and the function hands back the other end of every link. A matched work item that is linked to another matched work item is returned too, so two related work items inside your starting set both count as linked.

Three worked examples

Board filter: what is blocking the release

issue in linkedIssuesOf("project = PLAT AND fixVersion = 5.2 AND statusCategory != Done", "is blocked by")

Point a Kanban board at this filter and the team sees the blockers for every unfinished 5.2 work item, even when the blockers live in other projects. The link name keeps relates-to noise out.

Dashboard gadget: dependencies on the critical path

issue in linkedIssuesOf("project = ACME AND priority = Highest AND resolution = Unresolved") AND statusCategory != Done

A filter results gadget built on this shows every open work item connected to a highest-priority one. Review it in the weekly delivery stand-up.

Automation: chase stale dependencies

issue in linkedIssuesOf("labels = customer-commitment") AND updated <= -14d

Use this as the JQL of a scheduled Jira automation rule. It finds work items tied to a customer commitment that nobody has touched for two weeks, and the rule can comment or notify.

Saving it as a filter

There is nothing app-specific to save. Compose the query in Jira's own search bar, save it as a normal Jira filter, and use that filter on boards, dashboards, gadgets and subscriptions. The JQL functions tab in Hooks has a Try a search panel that previews the first matches of a query before you save it, which is a quick way to check the inner JQL does what you expect.

Using not in

Every built-in function returns the correct set for not in. issue not in linkedIssuesOf(...) matches every work item except the ones the function returns.

issue not in linkedIssuesOf("jql")

Limits you will see

ScriptRunner equivalent

In ScriptRunner you write issueFunction in linkedIssuesOf(...). In Hooks you write issue in linkedIssuesOf(...), and issueFunction not in becomes issue not in. The name and both forms carry over unchanged. Saved Enhanced Search filters can be converted in place from the Migrate from ScriptRunner tab, which checks each one against ScriptRunner's current results first. See the migration docs and the Enhanced Search alternative guide.

Related functions

Frequently asked questions

Does linkedIssuesOf include the work items my inner JQL matched?

Only when they are linked to other matches. A matched work item that is linked to another matched work item still counts as linked, so it is returned. A match with no links to the rest of the set is not.

Can I limit it to one link type?

Yes. Pass the link name as the second argument, for example linkedIssuesOf("project = ABC", "is blocked by").

How many work items can linkedIssuesOf() return?

Up to 12,000. The inner search scans up to 25,000 matches, and a bigger result shows too many results instead of a cut-off list.

What is the ScriptRunner equivalent of linkedIssuesOf()?

Replace issueFunction in with issue in. The name and both forms carry over unchanged.

Try Hooks free for 30 days → Docs: JQL functions