getOldProjectFromEvent
Availability
This routine is available starting with Power Scripts™ 4.0.0 (server).
Syntax
getOldProjectFromEvent()
Description
Retrieves a structure containing information about a project that has been updated.
Return value
A JProject value containing the component data.
Example
logPrint("INFO", "Result of listener: " + getOldProjectFromEvent());
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