Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-15925

Text emails include a condition not to display issue priority value. This should not be the case.

XMLWordPrintable

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

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

      This is the code included in the issue create template for text emails:
      #if ($issue.getPriorityObject() && $issue.getPriorityObject().getId() != $constantsManager.getDefaultPriority().getString("id"))
      >$stringUtils.leftPad($i18n.getText("issue.field.priority"), $padSize): $issue.getPriorityObject().getNameTranslation($i18n)
      #end

      The "$issue.getPriorityObject().getId() != $constantsManager.getDefaultPriority().getString("id"))" does not exist in the HTML mail template. Incoming emails for issues set at the default priority level do not show such priority level in the message body/text. Please consider removing the "$issue.getPriorityObject().getId() != $constantsManager.getDefaultPriority().getString("id"))" condition from the issuecreated.vm template

              Unassigned Unassigned
              16461abe6311 Jira Admin
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: