Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-266

let the subject of the email be modifiable via the notification template

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 1.5
    • User interface
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      currently, notification email subjects are not customisable. Since the change to use freemarker templates with notification email, there exists a way to allow email subject customisation in the email template.

      The suggested model is to allow the subject be specified on the first line of the email template, after the ftl tag, beginning with the string "Subject: " , e.g.,

      [#ftl]
      Subject: ${comment.user.displayName} commented in ${review.permaId}       [#-- this is the subject line --]
      
      [#if comment?exists]
          [@compress single_line=true]
          ${review.permaId}
          [#if comment.defectRaised]
              ${comment.user.displayName} raised a defect
          [#else]
              commented
          [/#if]

      If the subject line doesn't exist, the default subject is used.

            jxie Chii (Inactive)
            jxie Chii (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: