Page History
...
$jirassimo.approveButton($issue, "customfield_10118")
$jirassimo.approveButtonWithLabel($issue, $customFieldCode, $label)
Generates Approve button to be rendered in email with specific label. You need to pass $issue data as is, i.e. $issue and for $customFieldCode you need to pass the code for the custom field that keeps approvals in your system. For example:
$jirassimo.approveButton($issue, "customfield_10118", "Agree")
$jirassimo.declineButton($issue, $customFieldCode)
Generates Decline button to be rendered in email. You need to pass $issue data as is, i.e. $issue and for $customFieldCode you need to pass the code for the custom field that keeps approvals in your system. For example:
$jirassimo.declineButton($issue, "customfield_10118")
$jirassimo.declineButton($issue, $customFieldCode)
...
$jirassimo.declineButton($issue, "customfield_10118")
$jirassimo.declineButtonWithLabel($issue, $customFieldCode, $label)
Generates Decline button to be rendered in email with specific label. You need to pass $issue data as is, i.e. $issue and for $customFieldCode you need to pass the code for the custom field that keeps approvals in your system. For example:
$jirassimo.declineButton($issue, "customfield_10118", "Disagree")
$jirassimo.timetrackingAttribute($attributeName, $timetracking)
...