This function returns the parent issue of current issue according to Advanced Roadmaps hierarchy, i.e., the issue which is immediately above in the hierarchy. In the case of a subtask, it returns its parent issue.

Advanced Roadmaps hierarchy includes:

  • Issues linked by Parent Link custom field.
  • Issues linked by Epic-Story link.
  • Subtasks in the lowest level of the hierarchy. Subtasks under issues in intermediate levels of the hierarchy are not considered to belong to Advanced Roadmaps hierarchy.

Example:

parent() #Output: Issue list
Parser expressionDescription
parent()

Considering that current issue is JWT-3, this expression returns the parent of this issue:

JWT-1

This function returns an


Variant where you additionally define issues.

Duplicated issues are filtered from the output.

parent(issueList) #Output: Issue list
Parser expressionDescription
parent(linkedIssues("is blocked by")) 

Considering that expression linkedIssues("is blocked by") returns [JWT-4, JWT-8], this example returns the parent of these issues:

JWT-1, JWT-8

To achieve this the following functions are used:

Parameters used in this function

ParameterInput (data type)Description
issueList

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or issuesUnderEpic()).

This function returns an


Variant where you define issue keys instead.

parent(issueKeys) #Output: Issue list
Parser expressionDescription
 parent("JWT-7, JWT-13")

This example returns parent issues of JWT-7 and JWT-13:
JWT-2, JWT-12

Parameters used in this function

ParameterInput (data type)Description
issueKeys

A comma separated list of issue keys.

This function returns an

Function issuesUnder() should be used for retrieving children issues in level just under an issue.

Function allIssuesUnder() can be used for retrieving all children issues in any level below an issue.


Status
Tech review

Style guide

Short description

Returns issues located in the level just under a given parent issue according to Advanced Roadmaps hierarchy.

Output

Available since

Label