Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This function returns an issue list containing all descendant issues, i.e., all related issues located in any level below current issue according to Advanced Roadmaps hierarchy.

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:



Code Block
languagebash
titleSyntax
linenumberstrue
allIssuesUnder() #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
allIssuesUnder()


Considering that current issue is JWT-3, this expression returns all issues in any level below it:

JWT-2, JWT-11, JWT-7, JWT-4, JWT-12, JWT-6, JWT-10, JWT-13



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list




UI Text Box
sizemedium
typeinfo

Variant where you additionally define issues.

Duplicated issues are filtered from the output.


Code Block
languagebash
titleSyntax
linenumberstrue
allIssuesUnder(issueList) #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
allIssuesUnder(linkedIssues("is blocked by")) 


Assuming that expression linkedIssues("is blocked by") returns [JWT-4, JWT-8], this example returns all the children issues in any level below issues JWT-3 and JWT-4:

JWT-6, JWT-10, JWT-9, JWT-16

To achieve this the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueList

Status
subtletrue
titleissue list

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or issuesUnderEpic()).



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list




UI Text Box
sizemedium
typeinfo

Variant where you define issue keys instead.

Duplicated issues are filtered from the output.


Code Block
languagebash
titleSyntax
linenumberstrue
allIssuesUnder(issueKeys) #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
 allIssuesUnder("JWT-3, JWT-8")


This example returns all issues in any level below issues JWT-3 and JWT-8:
JWT-2, JWT-11, JWT-7, JWT-4, JWT-12, JWT-6, JWT-10, JWT-13,JWT-9, JWT-16



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueKeys

Status
subtletrue
titletext

A comma separated list of issue keys.



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list


UI Text Box
typetip

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 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.

To return all issues above an issue within the Advanced Roadmaps hierarchy, you might want to have a look into the issuesAbove() function.



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_allissuesunder" and space = currentSpace()


Page properties
hiddentrue



Status
Tech review

Status
colourYellow
titleReady for review

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns issues located in any level under a given parent issue according to Advanced Roadmaps hierarchy.

Output

Status
subtletrue
titleissue list

Available since

Status
subtletrue
colourBlue
title3.1.0

Label

Status
colourRed
titlestaff pick