This function returns an issue list containing all the ancestor issues of a given issue according to Advanced Roadmaps hierarchy, i.e., all issues in levels above which are related to a given issue, or in other words: the parent issue, the grandparent issue, the great grandparent issue, etc. The output list is ordered in ascending levels, being the parent issue the first element of the list.
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:
issuesAbove() #Output: Issue list
Variant where you additionally define issues.
Duplicated issues are filtered from the output.
issuesAbove(issueList) #Output: Issue list
Variant where you define issue keys instead.
issuesAbove(issueKeys) #Output: Issue list
Function allIssuesUnder() returns all children issues in any level below an issue.
Function siblingIssues() returns issues sharing the same parent as a given issue, excluding the given issue.
Function parent() returns the issue a given issue is children of.