Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Retrieves a structure containing information about a project that has been created or deleted.
Due to some differences between Jira's server REST API and the REST API from cloud, this routine will work slightly different here than it does on server. This happens because, in case of a version updated event, we cannot retrieve both of the information of the given version, before and after the changes being made.
The routine is a combination of the server routines for the project events (getProjectFromEvent / getOldProjectFromEvent).

Return Type

JProject#1

Example

Code Block
languagejs
logPrint("INFO", "Result of listener: " + getProjectFromEvent());

...