Wiki

Clone wiki

runner / Home

Code Runner Add-ons // 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

#!php

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

Groovy

#!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


Contact

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

Updated