Rootly built-in
find
-
find: arg1, 'arg2'
-
arg1
. String -
arg2
. String
-
JS
get
-
get: 'arg'
arg
. String
JS
smart_date
-
smart_date: 'arg'
arg
. String
- This is using https://github.com/mojombo/chronic under the hood.
JS
date_add
-
date_add: amount, 'date_part'
amount
. Integer (positive to add, negative to subtract)date_part
. String - one of: year, month, day, hour, minute, second, millisecond (plurals supported)
JS
date_minus
-
date_minus: amount, 'date_part'
amount
. Integer (positive to subtract, negative to add)date_part
. String - one of: year, month, day, hour, minute, second, millisecond (plurals supported)
JS
slice
-
slice: '\*arg'
-
arg
. String - … As many args as you need
-
JS
flatten
- flatten
JS
to_values
-
to_values: 'key'
key
is optional
JS
to_json
to_json
JS
to_iso8601
to_iso8601
JS
distance_of_time_in_words
-
distance_of_time_in_words: 'arg', 'precise'
-
arg
. String (optional) -
precise
. String (optional)
-
JS
distance_of_time_in_words_to_now
-
distance_of_time_in_words_to_now: 'precise'
precise
. String (optional)
JS
in_time_zone
-
in_time_zone: 'time_zone'
time_zone
. Any timezone listed in Timezones
JS
to_utc
to_utc
JS
to_table
-
to_table: 'table_type', 'title', 'time_zone', 'format'
-
table_type
is either events or action_items -
time_zone
. Any timezone listed in Timezones -
format
can be ascii , markdown , html, atlassian_markdown
-
JS
regex_replace
Global replace-
regex_replace: 'regex', 'replacement'
-
regexp
a ruby regular expression -
replacement
a ruby regular expression
-
JS
regex_replace_first
First match replace-
regex_replace_first: 'regex', 'replacement'
-
regexp
a ruby regular expression -
replacement
a ruby regular expression
-
JS
regex_remove
Global match remove-
regex_remove: 'regex'
regexp
a ruby regular expression
JS
regex_remove_first
First match remove-
regex_remove_first: 'regex'
regexp
a ruby regular expression
JS
regex_match
Find first match and return array with full match and capture groups-
regex_match: 'regex', 'flags'
regex
a ruby regular expressionflags
optional string with regex flags: ‘i’ (case insensitive), ‘m’ (multiline), ‘x’ (extended)
JS
JS
JS
regex_match_all
Find all matches and return array of results-
regex_match_all: 'regex', 'flags'
regex
a ruby regular expressionflags
optional string with regex flags: ‘i’ (case insensitive), ‘m’ (multiline), ‘x’ (extended)
JS
JS
JS
dasherize
dasherize
JS
parameterize
-
parameterize
separator
(default to ’-‘)
JS
camelize
camelize
JS
titleize
titleize
JS
singularize
singularize
JS
pluralize
pluralize
JS
humanize
humanize
JS
shuffle
shuffle
JS
Liquid built-in
html_to_markdown
html_to_markdown
JS
JS
shortener
shortener
JS