Skip to end of metadata
Go to start of metadata

[2015-12-14] Released Jira Workflow Toolbox 2.2.2

New Features

  • Added 2 new functions to the parser:
FUNCTION RETURNED VALUE
textOnIssueList(issue list issues, string text_expression) : string list Returns a list of strings resulting of evaluating text_expression against each of the issues in argument issues. Argument text_expression is an expression that returns a string, where references to field values of issues in argument issues are done with prefix ^ before field code, e.g., ^%{00000} is field code for Summary in each of the issues in argument issues.
Example: textOnIssueList(subtasks(), ^%{00003} = ^%{00006} ? ^%{00015} : null) returns the list of subtasks with same user as reporter and as assignee.
mathOnIssueList(issue list issues, number math_time_expression) : number list Returns a list of numbers resulting of evaluating math_time_expression against each of the issues in argument issues. Argument math_time_expression is a math/time expression, where references to field values of issues in argument issues are done with prefix ^ before field code, e.g., ^{00012} is field code for Due date in each of the issues in argument issues.
Example: mathOnIssueList(linkedIssues("is blocked by"), (^{00012} != null ? ^{00012} - ^{00009} : 0) / {HOUR}) returns a list of numbers with the number of days from issue creation to due date for all issues linked using "is blocked by" issue link type.

Improvements

  • Improved usage of null by the parser. Now text-string and math-time expressions can return null. It can be used for unsetting fields, or as a value that will not be added to a string or number list.
  • Numerous UI improvements: added field code injectors to all the features, text areas were replaced with advanced editor, revised texts in UI, translations in validations messages are shown by default when they exist, etc.
  • " Copy cascading select field" post-function now supports MultiLevel Cascading Select and Jira Database Values Plugin custom fields.
  • Support for reading custom fields provided by Kepler Custom Fields Pro plugin.
  • All the javascript code has been refactorized for maintainability.

Bug Fixes

  • " Copy cascading select field" post-function couldn't set "Select List" or "Radio Button" custom fields.
  • Virtual field "Attachments" threw exception when used in a validator in "Create Issue" transition.
  • Function "previousValue()" returned the value before previous one when the field was edited in transition screen.
  • Issue #205 - Bug on "numberOfRemoteIssueLinks()" function.
  • " Parse field for extracting data" didn't support delimiter definitions and format definitions longer that 255 characters.
  • " Create issue link" post-function doesn't show an image correctly with Jira 7.x.