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.
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 the given issues.