Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getVersions+-+433000678 |
---|
width | auto |
---|
|
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 function.
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 |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.