We're using Scriptrunner's TEMPLATE COMMENTS FOR JSD, and we currently have the default variables:
|| Variable || Usage || Type
| ${currentUser} | the current user | com.atlassian.jira.user.ApplicationUser
| ${issue} | the current issue | com.atlassian.jira.issue.Issue
| ${agentFirstname} | the current agent's first name | String
| ${customerFirstName} | the reporter's first name | String
| ${causedByIssues} | list of inward linked issues with the Problem/Incident link type | List<com.atlassian.jira.issue.Issue>
But I'm looking to add more, for example, $customerLastName, $managerFirstName, $agentLastName.
How can I go about doing this?
I haven't use this yet ... but found its entry on the marketplace ... and then followed the "Documentation" link that points to https://bitbucket.org/Adaptavist/jsd-canned-comments/src/master/
There you'll see (under the "Conditions" header) that you can "add additional variables available to the template"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.