Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.

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

Syntax

getIssueLinkFromEvent()

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Retrieves a structure containing information about a link that has been created or deleted.

Retrieves a structure containing information about a link that has been created or deleted.

Parameters

...

applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

...

Parameter name

...

Type

...

Required

...

Description

Return Type

JIssueLink

Example

Code Block
languagejs
JIssueLink link = getIssueLinkFromEvent();
logPrint("INFO", "Link ID: " + link.id);
logPrint("INFO", "Link Name: " + link.name);
logPrint("INFO", "Link Direction: " + link.direction);
logPrint("INFO", "Link Description: " + link.description);
logPrint("INFO", "Link Issue: " + link.issue);
logPrint("INFO", "Link Source: " + key);

Prints: Link ID: 10001 Link Name: Cloners Link Direction: 1 Link Description: clones Link Issue: SIL-123 Link Source: SIL-456

See also

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

...

function" and space = currentSpace ( )
labelsarray_

...

functions