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 sub-task, its parent issue will be returned.
Advanced Roadmaps hierarchy includes:
- Issues linked by Parent Link custom field.
- Issues linked by Epic-Story link.
- Sub-tasks in the lowest level of the hierarchy. Sub-tasks 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.
Duplicated issues are filtered from the output.
parent(issueKeys) #Output: Issue list
To return the issues just under an issue within the Advanced Roadmaps hierarchy, you might want to have a look into the issuesUnder() function.
To return all issues under an issue within the Advanced Roadmaps hierarchy, you might want to have a look into the allIssuesUnder() function.
To return all issues having the same parent within the Advanced Roadmaps hierarchy, you might want to have a look into the siblingIssues() function.
To return all issues above an issue within the Advanced Roadmaps hierarchy, you might want to have a look into the issuesAbove() function.