Make writing velocity mail templates simpler

XMLWordPrintable

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Currently, our JIRA velocity notification templates are full of ghastly constructs like:

      ${constantsManager.getIssueType($issue.getString("type")).getString("name")}

      to access the issue type. We really shouldn't be accessing internal APIs in velocity any more than using scriptlets in JSP. We should have a wrapper object passed in the velocity context, that exposes each field (incl. custom fields) as simple ${issue.fieldname} properties.

              Assignee:
              Unassigned
              Reporter:
              Jeff Turner
              Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: