This JQL function can be used to search for issues that satisfy the specified JQL query and logical expression.
issueSelection(subquery, logicalExpression) #Output: Issue list
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 10 Next »
This JQL function can be used to search for issues that satisfy the specified JQL query and logical expression.
issueSelection(subquery, logicalExpression) #Output: Issue list
Parser expression | Description |
---|---|
issue in issueSelection('project = CRM', 'count(allComments()) > 10') | This example returns all issues within the CRM project with more than 10 comments. |
issue in issueSelection('category = Support', 'count(filterByResolution(subtasks(), "")) > 0') | This example returns all issues from projects within the Support category with unresolved sub-tasks. |
issue in issueSelection('type = Task', 'isAClone()') | This example returns all Tasks that have been created by cloning an issue. |
issue in issueSelection('project = KANBAN', 'isInRole(%{issue.assignee}, "Developers")') | This example returns all issues within the KANBAN project that are assigned to users in the Developers role. |
issue in issueSelection('type = Incident', 'lastFieldChangeTime(%{issue.priority}) > ({system.currentDateTime} - 60 * {MINUTE})') | This example returns all Incidents with a change of priority within the last 60 minutes. |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
subquery | TEXT | A JQL query to select the issues that should be further filtered by the logical expression. 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 | TEXT | A logical expression that returns a boolean value. |
This function returns a ISSUE LIST
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG