Wiki

Clone wiki

runner / 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
$issue.key;
$project.getKey();
$event.someEventDependentMethod();
  • PHP
$issue->key;
$project->getKey();
$event->someEventDependentMethod();

Updated