Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

unlinkIssue(issueKey1, issueKey2, issueLinkTypeName[, keepReverseLink)]

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Removes the specified link between two issues.

Removes the specified link between two issues.

...

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

issueKey2

String

Yes

Key of the second issue to be unlinked.

issueLinkTypeName

String

Yes

Issue link type name.

keepReverseLink

Boolean

No

Consider the direction of the link.

Return Type

None

The returned value has no meaning.

Examples

Example 1

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

Result: The Relates link between current issue and issue "TST-123" will be removed.

Example 2

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

Result: The Blocks link between issue "TST-123" and issue "TST-234" will be removed.

Example 3

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

Result: The Blocks link between issue "TST-234" and issue "TST-123" will not be removed because the link specified by the parameters of this call does not exist, but the reverse does.

See also

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

...

function" and space = currentSpace ( )
labelsarray_

...

functions