Wiki
Clone wikirunner / Listeners
JIRA has a complete event subsystem that fires events whenever anything happens inside the application. For example, an ISSUE_CREATED event is fired whenever an issue is created.
##Binding
The bindings for listeners will be $event
and $log
, and if this will be instance of IsuseEvent
, also $project
and $issue
.
##Examples
- GROOVY
#!java $issue.key; $project.getKey(); $event.someEventDependentMethod();
- PHP
#!php $issue->key; $project->getKey(); $event->someEventDependentMethod();
Updated