Versions Compared

Key

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

...

Retrieves a structure containing information about a version that has been archived, created, released, unarchived, unreleased, moved or merged.
Due to some differences between Jira's server REST API and the REST API from cloud, this routine function 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 function is a combination of the server routines functions for the version events (getVersionFromEvent / getOldVersionFromEvent).

Return Type

JVersion

Example

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

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "listener_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.