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 subquery query and boolean predicate.

Code Block
languagebash
titleSyntax
linenumberstrue
issueSelection(subqueryquery, predicate) #Output: Issue list
UI Expand
titleExamples
true
Parser expressionDescription
Code Block
languagebash
linenumberstrue
Code Block
linenumbers
issue in issueSelection("project = CRM and status=\"In Progress\" and priority = 1", "{issue.dueDate} = {issue.customfield_aaaaa} and count(linkedIssues()) = 0")

This examples returns all issues that fulfill the entered JQL and furthermore fulfill the given boolean expression.

(tick) Note that you can easily use there all parser logic known from our custom fields, post functions, etc.

UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
subqueryquery

Status
subtletrue
titletext

A JQL query to select the issues that should be further filtered by the boolean predicate. Everytime a double-quotation is used in the query, they must be jumped with a slash, just like in the previous example.

predicate

Status
subtletrue
titletext

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

This function returns 

Status
subtletrue
titleissue list
.

Page properties
hiddentrue
Short descriptionFilter issues using a JQL and a parser expression that returns a boolean value.
Output

Status
subtletrue
titleISSUE LIST

Label
Page properties
hiddentrue

Status
Tech review

Status
colourYellow
titletodoReady for review

Style guide

Status
colourYellow
titletodoReady for review

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