note

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

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

Syntax

getProjectFromEvent()

Package

Alias

Pkg Usage

Description

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

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

Parameters

Parameter name

Type

Required

Description

Return Type

JProject

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