Other Scriptable Items

Jython Listener

Handles JIRA events with your script.

Listener has two parts:

  • Issue events handler
  • User events handler

See below for details.

Issue Events

This part handles all issue-related events with the script located at JIRA_HOME/jsspro/jython/listener/workflow_event.py. Issue events include all system and custom events listed at JIRA Administration → System → Events.

Context

User Events

This part handles all user-related events with the script located at JIRA_HOME/jsspro/jython/listener/user_event.py. User events are:

  • User Signup
  • User Created
  • User Forgot Password
  • User Forgot Username
  • User Cannot Change Password

Context

How to Enable

  1. Navigate to JIRA Administation → System → Listeners
  2. Add a listener with any name and class com.quisapps.jira.jsspro.listener.JythonListener
  1. Script names could not be changed at the moment.
  2. Only one Jython listener could exist at the system. You will not be able to add another one.

Jython Service

Runs a specified Jython script by schedule

How to use

Add Jython service:

  1. Navigate to JIRA Administratuon → System → Services
  2. Add service with class name com.quisapps.jira.jsspro.service.JythonService
     
  3. Click Add Service
  4. On the next step provide relative or absolute path to Jython script. Relative paths are resoled against JIRA_HOME/jsspro/jython folder
  5. Click Update

Jython Runner

Allows to run arbitrary Jython scripts.

How to use

  • Navigate to JIRA Administration → Add-ons → Scripting Suite Pro → Jython Runner
  • Enter your script into the Source area
  • Click Run button

REST Service

Allows to develop your own REST services.