Going Stellar

Home/JQL reference

JQL function

linkedIssues() in JQL: syntax and examples

linkedIssues() returns the work items that are linked to one issue key. You can narrow it to one or more link descriptions, such as "blocks" or "is blocked by". Use it to see what a ticket is holding up, what holds it up, or to review a cluster of related work in one list. Atlassian's docs now show linkedWorkItems(), but that name does not exist in JQL.

Syntax

linkedIssues(issueKey)
linkedIssues(issueKey, "linkDescription")
linkedIssues(issueKey, "linkDescription", "linkDescription")

Arguments

ArgumentWhat it doesOptional
issueKeyThe key of the issue whose links you want to follow, for example WEB-25. It must exist, and you need permission to see it.no
linkDescriptionThe wording of the link as it reads from the other issue, such as "blocks", "is blocked by" or "relates to". You can pass several, separated by commas. Leave it out to match every link type.yes

Works with

  • Fields: Issue (also written key)
  • Operators: IN, NOT IN
  • Not with: =, !=, ~, !~, >, >=, <, <=, IS, IS NOT, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED

Examples

issue in linkedIssues(SCRUM-1, "is blocked by") AND statusCategory != Done

Open items that block SCRUM-1. This is the list to clear before the ticket can move.

Run on Jira Cloud on .

issue in linkedIssues(SCRUM-1, "blocks")

Work that SCRUM-1 is holding up. Read it before delaying the ticket, so you know who waits.

Run on Jira Cloud on .

issue in linkedIssues(SCRUM-2, "blocks", "relates to")

Two link types in one search: blocking links and plain relations around SCRUM-2.

Run on Jira Cloud on .

issue in linkedIssues(WEB-25) AND project = WEB

Linked items for WEB-25, restricted to the website project. Cuts out cross-project links when you review one team's scope.

Run on Jira Cloud on .

issue in linkedIssues(SCRUM-2, "relates to") ORDER BY priority DESC

Everything marked as related to SCRUM-2, highest priority first. A start for a triage of one theme.

Run on Jira Cloud on .

issue not in linkedIssues(SCRUM-1) AND project = SCRUM AND statusCategory != Done

Open project items that have no link to SCRUM-1. Handy when you check that a dependency map is complete.

Run on Jira Cloud on .

Pitfalls

  • The docs example work item in linkedWorkItems(ABC-123) cannot work. Jira says "Unable to find JQL function 'linkedWorkItems(WEB-25)'", because only linkedIssues() exists, and the field in front of in must be issue (checked on Jira Cloud, November 2026).
  • Pass the link description, not the link type name. The Relates type has the description "relates to", and linkedIssues(SCRUM-1, "Relates") fails with "Issue link type 'Relates' could not be found in function 'linkedIssues'." The same message appears for any unknown wording. A missing key gives "Issue 'NOPE-99' could not be found in function 'linkedIssues'."
  • Direction is part of the description. "blocks" and "is blocked by" return different sets for the same key. If you want both directions, pass both.
  • The function takes one issue key. It does not accept a list or a subquery, so you cannot ask for the links of every item in a sprint with it.

Questions and answers

Why does linkedWorkItems() say it cannot be found?

The function name in JQL is still linkedIssues(). The new name only appears in the rewritten docs. Use issue in linkedIssues(KEY).

How do I find everything a Jira issue blocks?

Use issue in linkedIssues(KEY, "blocks"). For the reverse, use "is blocked by".

Sources

  1. JQL functions (Atlassian Support, Jira Cloud)

Markdown version · All JQL pages