Skip to end of metadata
Go to start of metadata

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.

Availability

This routine is available starting with Power Scripts 4.0.0 (server).

Syntax

getProjectFromEvent()

Description

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

Return value

JProject value containing the component data.

Example

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