allIssuesUnder()

All issues

This function returns a list of all descendant issues, meaning all issues located at any level below the current issue in the configured Jira Cloud issue hierarchy.

The hierarchy includes:

  • Issues linked via the Parent Link field

  • Issues linked through Epic-Story relationships

  • Sub-tasks at the lowest level of the hierarchy

This function allows you to retrieve all child, grandchild, and deeper-level issues according to the hierarchy defined.

advanced-roadmaps-hierarchy-levels.png
Bash
allIssuesUnder() #Output: Issue list

Examples

Parser expression

Description

Bash
%{allIssuesUnder()}

Considering that current issue is JWT-3, this expression returns all issues in any level below it:

JWT-2, JWT-11, JWT-7, JWT-4, JWT-12, JWT-6, JWT-10, JWT-13

Output

This function returns an ISSUE list


Issue list

Variant where you additionally define issues.

Duplicated issues are filtered from the output.

Bash
allIssuesUnder(issueList) #Output: Issue list

Parser expression

Description

Bash
%{allIssuesUnder(linkedIssues("is blocked by"))}

Assuming that expression linkedIssues("is blocked by") returns [JWT-4, JWT-8], this example returns all the children issues in any level below issues JWT-3 and JWT-4:

JWT-6, JWT-10, JWT-9, JWT-16

To achieve this the following functions are used:

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueList

ISSUElist

Any given issue list.

Output

This function returns an ISSUE list


Issue keys

Variant where you define issue keys instead.

Duplicated issues are filtered from the output.

Bash
allIssuesUnder(issueKeys) #Output: Issue list

Examples

Parser expression

Description

Bash
%{allIssuesUnder("JWT-3, JWT-8")}

This example returns all issues in any level below issues JWT-3 and JWT-8:
JWT-2, JWT-11, JWT-7, JWT-4, JWT-12, JWT-6, JWT-10, JWT-13,JWT-9, JWT-16

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueKeys

TEXT

A text containing issue keys separated by commas.

Output

This function returns an issue list