Description
Returns an array with the Issue keys linked with the specified one.
This routine searches for all the linked issues with the one given as argument (parameter) and builds an array that contains them. The second parameter [linkTypeName] is optional and represents a searching filter that selects only those issues that have a certain relation (link type) with the argument issue.
The Issue types that can be given as arguments are:
- Blocks
- Relates
- Clones
The third parameter [direction] is optional and it is used to specify whether to retrieve inward links or outward links.
Parameters
Return Type
String[]
Example
A good way to understand the idea of this routine is by using an example, so:
return linkedIssues("TUT-1","Blocks");
See also