Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !


This routine is available starting with katl-commons 2.5.16 / 2.6.8.

This routine is available for Jira server and cloud deployment options.

Syntax

admGetProjectVersion(projectKey, versionName)

Description

Returns the project version.

Parameters

Parameter name

Type

Required

Description

 projectKeystringyesProject key.
versionNamestringyesVersion name.

Return type

Version

All the properties of a version(id, name, description, projectKey, startDate, releaseDate, archived, released).

  1. If projectKey or versionName is empty, an error will be raised.
  2. If project or version does not exist, an error will be raised.

See also