Skip to end of metadata
Go to start of metadata

[2017-02-03] Released Jira Workflow Toolbox 2.2.30

New features

  • 10 new parser functions:
FunctionReturned value
toString(number list l, number decimals, string separator) : stringReturns a string with a list of decimal representations of the numeric values in l, with the number of characters in the decimal part specified by parameter decimals and separated by string separator.
Example: toString([1.123, 2.452, 3.64612], 2, " : ") returns the following string: "1.12 : 2.45 : 3.65".
toString(string list l, string separator) : stringReturns a string a list of string values in l separated by string separator.
Example: toString(["blue", "red", "green"], "; ") returns "blue; red; green"
toString(issue list l, string separator) : stringReturns a string with a list of issue keys separated by string separator.
Example: toString(subtasks(), " ") returns "CRM-5 CRM-6", being CRM-5 and CRM-6 the keys of current issue's sub-tasks.
formatDuration(number duration) : stringReturns a string with the pretty representation of a time duration, i.e. a subtraction of 2 date-time values, using the language of current user's profile.
Example: formatDuration(2017-01-31 11:30 - 2017-01-30 00:00) returns "1 day, 11 hours, 30 minutes".
shortFormatDuration(number duration) : stringReturns a string with the most compact representation possible of a time duration, i.e. a subtraction of 2 date-time values, using the language of current user's profile.
Example: shortFormatDuration(2017-01-31 11:30 - 2017-01-30 00:00) returns "1d 11h 30m".
escapeHTML(string s) : stringEscapes the characters in a string s using HTML entities.
Example: escapeHTML("<Français>") returns "&lt;Fran&ccedil;ais&gt;".
unescapeHTML(string s) : stringUnescapes string s containing entity escapes to a string containing the actual Unicode characters corresponding to the escapes.
Example: unescapeHTML("&quot;bread&quot; &amp; &quot;butter&quot;") returns "\"bread\" & \"butter\"".
allCommentCreators() : string listReturns a string list with the user names of comment creators in current issue, in ascension order by commenter's actuation time. A same user appears in the output as many times as comments has created. For anonymous comments an empty string ("") is returned.
allCommentCreators(string issue_keys) : string listReturns a string list with the user names of comment creators in issues with keys in issue_keys, in order of appearance in issue_keys, and in ascension order by commenter's actuation time. A same user appears in the output as many times as comments has created. For anonimous comments an empty string ("") is returned.
allCommentCreators(string list l) : string listReturns a string list with the user names of comment creators of issues in l, in order of appearance in l, and in ascension order by commenter's actuation time. A same user appears in the output as many times as comments has created. For anonimous comments an empty string ("") is returned.

Bug fixes