Availability
- This routine is available starting with SIL Engine™ 1.0.
- This routine is available for Jira server and cloud deployment options.
Syntax
subtasks(issuekey)
Description
Get the list of sub tasks linked to the parent issue.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
issuekey | string | Yes | Key of the issue. |
Return type
string []
Returns a list of issue keys that are subtasks of the specified issue.
Example
Example 1
//Subtasks of the issue "PRJ-32" are : PRJ-192,PRJ-193,PRJ-203. subtasks("PRJ-32");
Returns: The list of the sub tasks linked to PRJ-32: |PRJ-192|PRJ-193|PRJ-203|
Example 2
subtasks(key);
Returns: The list of the sub tasks linked to the current issue in the form similar with the example above.
See also