- This routine is available starting with SIL Engine™ 1.1.2.
- This routine is available for Jira server and cloud deployment options.
Syntax for server version
linkIssue(issueKey1, issueKey2_or_url, issueLinkTypeName_or_linkText)
Syntax for cloud version
linkissue(inwardIssueKey, outwardIssueKey, issueLinkTypeName [, comment, securityLevel])
DescriptionLinks two issues by a specified link type name. First issue will have the outward description of the link type, the second issue will have the inward description of the link type.
Starting with SIL Engine™ 4.0.14 you can also link the issue to a web link.
Key of the first issue to be linked.
Key of the second issue to be linked or the URL.
Issue link type name or the link text.
|comment||string||No||Comment that will be posted on the selected issue.|
|securityLevel||string||No||Security level of comment.|
None. The returned value has no meaning.
Examples for server version
Result: current issue is linked to issue "TST-123" by Relates link type, such that "TST-123" relates to current issue and vice versa.
Result: "TST-123" issue is linked to issue "TST-234" by Blocks link type, such that "TST-123" blocks "TST-234" and "TST-234" is blocked by "TST-123".
As a result, the TST-123 issue will be linked to https://confluence.example.com with the "Confluence Documentation" link text.
Examples for cloud version