This function returns an issue list containing all the ancestor issues of a given issue according to Advanced Roadmaps hierarchy, i.e., all related issues in levels above 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.
- 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:
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.
Duplicated issues are filtered from the output.
issuesAbove(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 the parent of an issue within the Advanced Roadmaps hierarchy, you might want to have a look into the parent() function.
Use cases and examples
Use case |
---|
No content found. |