Wiki

Clone wiki

runner / Home

Code Runner Add-on // DOWNLOAD

in-banner.png

Description

The Code runner plugin for JIRA allows creating PHP/Groovy scripted post-functions, validators, conditions, listeners, scheduled task and also has a console. Plus an mail handler and an experimental emulation of a web-server serving php/groovy files along with some static files having extentions html, htm, txt, js, css, jpeg, png, gif.

Taste of it

A sample script might look like:

PHP

import com.atlassian.jira.component.ComponentAccessor;
$customFieldManager = ComponentAccessor::getCustomFieldManager(); // static method
$fieldObj = $customFieldManager->getCustomFieldObject("customfield_10000");
$value = $issue->getCustomFieldValue($fieldObj);

Groovy

import com.atlassian.jira.component.ComponentAccessor;
def customFieldManager = ComponentAccessor.getCustomFieldManager(); // static method
def fieldObj = customFieldManager.getCustomFieldObject("customfield_10000");
def value = $issue.getCustomFieldValue(fieldObj);

Why Code Runner?

The Code Runner supports two scripting languages, which gives you ability to extend JIRA with your favorite programming language.

#Features Workflow /Post-functions [documentation] Workflow /Validators [documentation] Workflow /Conditions [documentation] Custom Mail Handler [documentation] Listeners [documentation] Scheduled Tasks WebServer [documentation] Console Custom Rest EndPoint [documentation] Scripts Manager Other tools: * Copy project * Bulk Fix Resolutions * Bulk Import Values * * Filter Result Mailer


Contact

For support request please create new ticket in the project's issues or send e-mail to soualahaitem@gmail.com

Updated