Availability
This routine is available since katl-commons 3.0.13 (for JIRA 6.x use) and katl-commons 3.1.0 (for JIRA 7.x use).
Since katl-commons 4.0.4 it also returns the system links (example: is subtask of, issue in epic).
Syntax:
getIssueLinksDetail(issueKey)
Description:
Returns all the details about the links of an issue key.Parameters:
Parameter name | Type | Required | Description |
---|---|---|---|
issueKey | string | yes | The issue key |
Return type:
Example:
Example 1:
return getIssueLinksDetail("TEST-1");
Example 2:
JIssueLink[] jIssueLinks = getIssueLinksDetail("TEST-1"); for(JIssueLink jIssueLink in jIssueLinks){ runnerLog("The linked issue " + jIssueLink.issue + " it has the following properties: "); runnerLog("- link id : " + jIssueLink.id); runnerLog("- link name : " + jIssueLink.name); runnerLog("- direction : " + jIssueLink.direction); runnerLog("- description : " + jIssueLink.description); }
See also: