Skip to end of banner
Go to start of banner

getIssueLinksDetail

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

 

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

issueKeystringyesIssue key.

Return type

JIssueLink[]

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


  • No labels