Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns age of an issue in days

 

$jirassimo.userProperty($userKey, $propertyName)

...

Parses the date from $dateValue and outputs it in given $format with specified $timezone. Timezone code must be one value from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones in column TZ*

 

$jirassimo.collectMentionsEmails($JiraTextOrTextAreaField)

Given the Jira field, find users mentioned in it and return a collection of users' emails.


$jirassimo.interval ($firstDate, $secondDate, $unit)

Given two dates or datetimes in one of Jira cloud format: 

yyyy-MM-dd'T'HH:mm:ss.SSSZ
MM-dd-yy hh:mm
yyyy-MM-dd
yyyy-MM-dd HH:mm
Find the absolute number of DAYS or HOURS between first and second date. Third argument ($unit) must be of value either "DAYS" or "HOURS"

$jirassimo.resolveNames ($inputCommentString)

Will search for occurrence of mentions that contain accountid and replace the accountid to fullname of mentioned user