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"
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.