getProjectFromEvent

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 project that has been created or deleted.

Parameters

Return Type

JProject

Example

1 logPrint("INFO", "Result of listener: " + getProjectFromEvent());

The result is a structure containing project id, key, name, description, lead, url, avatar id, project category and type, and information about whether the project issues are unassigned by default.

See also