Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getVersionFromEvent+-+15480892 |
---|
width | auto |
---|
|
The use of this function requires the Power Scripts for Jira add-on be installed and licensed.
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 | getVersionFromEvent() | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Retrieves a structure containing information about a version that has been archived, created, released, unarchived, unreleased, moved or merged. |
Retrieves a structure containing information about a version that has been archived, created, released, unarchived, unreleased, moved or merged.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
|
Return Type
JVersion
Example
Code Block |
---|
logPrint("INFO", "Result of listener: " + getVersionFromEvent()); |
The result is a structure containing version id, name, description, project key of the version, start date and release dates, and information about whether the version is archieved or released.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "listener_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.