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 satisfy the specified JQL query and logical expression.

Code Block
languagebash
titleSyntax
linenumberstrue
issueSelection(subquery, logicalExpression) #Output: Issue list
UI Expand
titleExamples
Parser expressionDescription
Code Block
languagebash
linenumberstrue
issue in issueSelection('project = CRM', "allComments() > 10")

This examples returns all issues within the CRM project having more than 10 comments.


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 should be further filtered by the boolean predicatelogical expression.

UI Text Box
typetip

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.

logicalExpression

Status
subtletrue
titletext

A valid parser expression that returns a boolean value.
UI Expand
titleOutput

This function returns a 

Status
subtletrue
titleissue list

Page properties
hiddentrue
Short descriptionFilters issues by a given logical epression
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