getIssueLinksDetail
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !
Availability
This routine is available starting with katl-commons 3.0.13 for Jira 6.x and katl-commons 3.1.0 for Jira 7.x.
Starting with katl-commons 4.0.4 it also returns the system links (example: is subtask of, issue in epic).
This routine is available for Jira server and cloud deployment options.
Syntax
getIssueLinksDetail(issueKey)
Description
Returns all the details about the links of an issue key.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
issueKey | string | yes | 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