Skip to end of banner
Go to start of banner

getIssueLinkFromEvent

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 »

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

Description

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

Parameters

Return Type

JIssueLink

Example

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

  • No labels