This function returns the parent issue of a given issue according to Advanced Roadmaps hierarchy, i.e., the issue which is immediately above in the hierarchy. In the case that the given issue is a subtask, its parent issue will be returned.
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
Variant where you additionally define issues.
Duplicated issues are filtered from the output.
parent(issueList) #Output: Issue list
Variant where you define issue keys instead.
parent(issueKeys) #Output: Issue list
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.