subcomponentsOf JQL Function

This JQL function takes the project key as the first parameter and the name of the project component or folder as the second parameter. If the name of the component is entered, it displays the issuers of that project component itself and its children, but if the name of the folder is entered, it displays the issuers to which all the children of that folder and their children are assigned.

Usage:

component in subcomponentsOf("projectKey", "folderName | componentName")

 

image-20240229-150334.png

 

To give an example scenario, suppose we have a subcomponents page like this.

image-20240229-145036.png

Then we need to assign a component from the subcomponents page to an issue. Then create that issue.

 

 

After the issue is created, when the query is thrown using the JQL function on the issues page, the issues with the children and children of the children of the components given in that query are displayed.