Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | getVersions(pkey) | Package | adm | Alias | admGetProjectVersions(pkey) //deprecated | Pkg Usage | getVersions(pkey) | |
Description
Excerpt |
---|
|
Returns all the project versions (all). |
Returns all the project versions (all).
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
pkey | String | Yes | Project key. | |
Return Type
String []
All the project components namesversions, unsorted, as returned by the underlying Jira layer.
Example
Code Block |
---|
admGetProjectVersions("TP"); |
Returns a String[] containing the project versions names.
Code Block |
---|
use "adm"; //to announce the package usage
getVersions("TP"); |
Specify adm to use the getVersions naming.
Returns a String[] containing the project versions namesThe meaning that v2 comes after v1.3 is to be addressed in the script, not in this routine.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "version_admin_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|