Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability
  • 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

...

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=linkIssue+-+15483554
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

linkIssue(issueKey1, issueKey2_or_url,

...

issueLinkTypeName

...

)

...

Syntax for cloud version

...

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Links 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.

...

Links 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.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

issueKey1

...

String

Yes

Key of the first issue to be linked.

issueKey2_or_url

...

String

Yes

Key of the second issue to be linked or the URL.

issueLinkTypeName

...

...

String

Yes

Issue link type name

...

.

Return

...

Type

None. The

The returned value has no meaning.

Examples

...

Example 1

Code Block
linkIssue(key, "TST-123", "Relates");
//key represents the key of current issue, "TST-123" the key of the issue it will be linked to.

Result: current issue is linked to issue "TST-123" by Relates link type, such that "TST-123" relates to current issue and vice versa.

...

Code Block
linkIssue("TST-123", "TST-234", "Blocks");

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".

...

Code Block
linkIssue("TST-123", "https://confluence.example.com", "Confluence Documentation");

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

Example 

Code Block
/*same as server*/
linkIssue(key, "TEST-5", "Duplicate");
Code Block
/*or like this, and the added comment will be public*/
linkIssue(key, "TEST-5", "Duplicate", "some text here")

...

link text.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "

...

link_routine" and space = currentSpace ( )
labels

...

array_

...

routines