Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
UI Text Box
sizemedium
typeinfo

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

Code Block
languagebash
titleSyntax
linenumberstrue
linkedIssuesOf(subquery, link_types) #Output: IssuesIssue list
UI Expand
titleExamples
Parser expressionDescription
Code Block
languagebash
linenumberstrue
issue in linkedIssuesOf("issuetype = Task and priority < 3 and created < startOfWeek()", "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 below 3 and has been created this week.
Code Block
linenumberstrue
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.
UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
subquery

Status
subtletrue
titletext

A JQL query to select the issues that are linked to the returned issues. Everytime a double-quotation is used in the subquery, they must be jumped with a slash, just like in the previous example.

link_types

Status
subtletrue
titletext

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

This function returns 

Status
subtletrue
titleissue list
.

Page properties
hiddentrue
Short descriptionJQL function to search for issues depending on the fields of their linked issue and their link type.
Output

Status
subtletrue
titleISSUE LIST

Label
Page properties
hiddentrue

Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged