Versions Compared

Key

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

...

$jirassimo.customEmailFrom($value)

Allows to provide dynamic value for email "From name". This can be a hardcoded constant or a value from $issue, like $issue.fields.assignee.displayName


$jirassimo.customEmailFromAddress($value)

Allows to provide dynamic value for email "From" address. This can be a hardcoded constant or a value from $issue, like $issue.fields.assignee.emailAddress


$jirassimo.hasJiraPermisison($accountId, "JIRA_PERMISSION_CODE", $projectId)

Checks if a Jira user specified by $accountId has a Jira permission specified by JIRA_PERMISSION_CODE in project $projectId.

You can get a list of valid values for JIRA_PERMISSION_CODE by opening https://YOUR_JIRA_INSTANCE.atlassian.net/rest/api/3/permissions in your browser

Usage example:  

#if ($jirassimo.hasJiraPermisison($u.accountId, "SERVICEDESK_AGENT", $issue.fields.project.id))
    $!u.emailAddress, 
#end