[2016-06-20] Released Jira Workflow Toolbox 2.2.12

New Features

FUNCTION RETURNED VALUE
toInteger(string s, string radix) : number returns the numeric value represented by the string s as a signed integer in the radix specified by argument radix.
Example: toInteger("ff", 16) returns 255.
findModify(string s, string regexp, string replacement_expression) : string list Returns a string like s, but where all substrings matching regexp have been replaced with the result of evaluating replacement_expression against each these substrings. Argument text_expression is an expression that returns a string, where ^% represents each of the matching substrings, and ^ represents the order of appearance beginning with 1.
Example: findModify("The cure for boredom is curiosity.", "[aeiou]", modulus(^, 2) = 1 ? toUpperCase(^%) : ^%) returns "ThE curE for bOredOm is cUriOsity.".
getAscii(number code) : string returns a string containing the symbol corresponding to a extended ASCII code (0 <= code <= 255).
Example: getAscii(65) returns "A".
isBulkTriggeredTransition() : boolean Returns true only if current transition execution is being triggered by Jira's bulk operation feature. This function is useful for bypassing validations or post-functions when a transition is being executed by a bulk update operation.
allAvailableItems(%{nnnnn}) : string list Returns a string list with all available options in select or multiselect field with field code %{nnnnn}. Disabled options are included.
Example: availableItems(%{00103}) returns a string list with all security levels available for the project and current user.
allAvailableItems(%{nnnnn}, string option) : string list Returns a string list with the available child options in cascading or multilevel cascading field with ID %{nnnnn}, and for option parent option. In the case of multilevel cascading fields, a comma separated list of options should be entered. Disabled options are included.

Improvements

Bug Fixes