You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

This JQL function can be used to search for issues that have a certain link to issues that satisfy the JQL subquery.

Syntax
linkedIssuesOf(subquery, linkTypes) #Output: Issue list
Examples
Parser expressionDescription
issue in linkedIssuesOf('issuetype = Task and priority = "Blocker"', "is blocked by, causes")
This example returns all issues whose link type is either is blocked by or causes, and they are linked to a Task with priority set to Blocker.
issue in linkedIssuesOf('project = "Example Project" and assignee = j.carrey', "relates to")
This example returns all issues whose link type is relates to, and they are linked to an issue that belongs to the Example Project's project and whose assignee is j.carrey.
Additional information

Parameters used in this function

ParameterInput (data type)Description
subquery

TEXT

A JQL query to select the issues that are linked to the returned issues.

Pro tip: Write the JQL query in single quotes instead of double quotes. Otherwise everytime a double-quotation is used in the subquery, they must be jumped with a slash, just like in the previous example.

linkTypes

TEXT

The link type or link types that the returned issues should have. The list of link types should be a comma-separated list.
Output

This function returns a ISSUE LIST