/
getIssueLinkFromEvent
getIssueLinkFromEvent
The use of this function 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
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
Peacock
, multiple selections available,
Related content
getOrganizationNameById
getOrganizationNameById
Read with this
SIL Context
SIL Context
Read with this
getUserKeysFromEmails
getUserKeysFromEmails
Read with this
getEventIssueChanges
getEventIssueChanges
Read with this
isIssueFieldChanged
isIssueFieldChanged
Read with this
getComponent
getComponent
Read with this