Skip to end of banner
Go to start of banner

unlinkIssue

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

Version 1 Next »

Availability

This routine is available starting with SIL Engine™ 2.5.8.

This routine is available for Jira server and cloud deployment options.

Syntax

unlinkIssue(issueKey1, issueKey2, issueLinkTypeName)

or

unlinkIssue(issueKey1, issueKey2, issueLinkTypeName,  keepReverseLink)


Description

Removes the specified link between two issues.

Parameters

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
booleanNoConsider the direction of the link.

Return type

None. The returned value has no meaning.

Example

Example 1

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("TST-123", "TST-234", "Blocks");

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

Example 3

unlinkIssue("TST-234", "TST-123", "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

  • No labels