[2015-03-18] Released Jira Workflow Toolbox 2.1.29
New features
- New parser functions:
- hasChanged(%{nnnnn}) : boolean , returns true only if field has changed in current transition.
- hasChanged({nnnnn}) : boolean , returns true only if numeric or date-time field field has changed in current transition.
- hasChanged({nnnnn.i}) : boolean , returns true only if cascading select field has changed for level i (with root level = 0) in current transition.
- sublist(string list l, number indexFrom, number indexTo) : string list , returns a string list with elements in l from indexFrom index to indexTo index. Having indexFrom >= 1 and indexFrom <= count(l) and indexTo >= 1 and indexTo <= count(l) and indexFrom <= indexTo.
- sublist(number list l, number indexFrom, number indexTo) : number list , returns a number list with elements in l from indexFrom index to indexTo index. Having indexFrom >= 1 and indexFrom <= count(l) and indexTo >= 1 and indexTo <= count(l) and indexFrom <= indexTo.
- sublist(issue list l, number indexFrom, number indexTo) : issue list , returns an issue list with elements in l from indexFrom index to indexTo index. Having indexFrom >= 1 and indexFrom <= count(l) and indexTo >= 1 and indexTo <= count(l) and indexFrom <= indexTo.
- indexOf(string element, string list l) : number , returns the index of string element in string list l. Zero is returned when element is not found in l.
- indexOf(number element, string list l) : number , returns the index of numeric value element in string list l. Zero is returned when element is not found in l.
- indexOf(issue element, issue list l) : number , returns the index of issue element in issue list l. Zero is returned when element is not found in l.
Improvements
- Compatibility with Jira 6.4
- Textarea has been replaced with an improved expressions editor in the following features: "
Boolean condition and validator with math. date-time or text-string terms", "
Copy parsed text to a field", "
Set a field as a function of other fields" and "Mathematical and date-time expression calculator". It provides the following features:
- Syntax highlighting.
- Matching brackets highlighting.
- Selected token highlighting.
- "A custom field is/isn't initialized" validator has been renamed to "A custom field is/isn't initialized or has/hasn't been modified", and now provides the capability for validating whether a custom field has been updated in transition screen.