admGetProjectVersion
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 !
Availability
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 |
---|---|---|---|
projectKey | string | yes | Project key. |
versionName | string | yes | Version name. |
Return type
Version
All the properties of a version(id, name, description, projectKey, startDate, releaseDate, archived, released).
Notes
- If projectKey or versionName is empty, an error will be raised.
- If project or version does not exist, an error will be raised.
See also