Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getProjectFromEvent+-+491002337 |
---|
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 | getProjectFromEvent() | Package | | Alias | | Pkg Usage | | |
...
Retrieves a structure containing information about a project that has been created or deleted.
Due to some differences between Jira's server REST API and the REST API from cloud, this routine will work slightly different here than it does on server. This happens because, in case of a version updated event, we cannot retrieve both of the information of the given version, before and after the changes being made.
The routine is a combination of the server routines for the project events (getProjectFromEvent / getOldProjectFromEvent).
Return Type
JProject
Example
Code Block |
---|
|
logPrint("INFO", "Result of listener: " + getProjectFromEvent()); |
...
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.